Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Google Cloud Platform icon
Labs

Use an InSpec Test

In this hands-on lab, you are tasked with creating an InSpec testing profile and will need to change that profile to perform certain checks on the server's file system. The InSpec tests will need to pass with no errors. You will be provided a configured Chef Workstation with Chef InSpec pre-installed for you.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Beginner
Last updated
Sep 15, 2025
Duration
30m

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 and Ensure It Is Ready

    Log in to the server as cloud_user with the provided password to ensure you can login. The server has Chef Workstation already installed. When the file SERVER-READY is listed in the /home/cloud_user folder, then you can start the tasks. If the SERVER-READY file is not listed, please log out and in a few minutes, log back in to check it again.

  2. Challenge

    Create and Edit Chef InSpec Test Profile

    Use the appropriate commands and create an InSpec test profile called filesystem-test. Accept any licenses. Use the cd command to move the test profile. Locate the appropriate test file used by InSpec and edit it to test read/write permissions of the /reporting folder for the user cloud_user.

  3. Challenge

    Run Chef InSpec Test Profile and Check for Errors

    Using the appropriate InSpec commands, run the test profile called filesystem-test and check for errors. Unless you have already created the folder called /reporting with the appropriate permissions, it is expected that your test profile, once run, will show errors. Fix the errors so that none are shown. Re run the InSpec test. Once there are no errors then the Lab is complete.

    NOTE: You may need to run the InSpec command using sudo or as the root user.

About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

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.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight