Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Chef Compliance Waivers

This hands-on lab will test your ability to create an InSpec test and your ability to create a waiver file to exclude a specific control from testing. You will need to show a test failure, then mitigate that test using your waiver file.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 30m
Published
Clock icon Aug 13, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Log In to the Provided Server

    1. Log in to the server as cloud_user with the provided password . The server has Chef Workstation installed.

    NOTE: Server setup may take several minutes after the lab has started. Once server configuration has been completed, a file named SERVER-READY is generated.

  2. Challenge

    Create and Edit a Chef InSpec Test Profile Named folder-check

    1. Using the appropriate command, create an InSpec test profile named folder-check.
    2. Accept necessary licenses.
    3. Move to the test profile.
    4. Find the appropriate InSpec test file and edit it to test if the /tmp2 folder exists.
    5. Run the InSpec test you just created. It should produce an error.
  3. Challenge

    Create a Waiver File to Exclude /tmp2 from Testing

    1. Create a waiver file to exclude the test for /tmp2.
    2. Run the test again and the error should no longer exist, since the failing control has been excluded.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans