Skip to content

Contact sales

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

Fixing Security Misconfigurations with Azure AI

In this hands-on lab, you are working as an Azure security engineer for Space Corp, a company that specializes in high-tech satellite launches. Recently, you’ve been called into several meetings where it’s been discovered that the AI resources have been misconfigured, and it's up to you to keep Space Corp safe! You’ll use Azure Key Vault, networking settings, and environment variables to help secure Azure Cognitive Services.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 30m
Published
Clock icon Sep 12, 2022

Contact sales

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

Table of Contents

  1. Challenge

    Connect to the Virtual Machine and Log In to the Azure Portal

    Use the instant terminal or SSH to connect to the Linux virtual machine.

  2. Challenge

    Explore the Code Directory in the Virtual Machine and Look at Cognitive Services in the Portal

    1. Look at the code of text_analytics.py and see if you can spot any issues.
    2. Explore the Cognitive Services resource and determine if there is a way to help secure it.
  3. Challenge

    Update the Configuration of the Cognitive Services Resource

    Enable the firewall to only allow the VM VNet to communitate to it.

  4. Challenge

    Update the Python Code to Make Use of Environment Variables

    Convert the Cognitive Services key to be stored in an environment variable.

  5. Challenge

    Create an Azure Key Vault and Update the Python Code

    Create a Key Vault with the Cognitive Services key as a secret and change the code to use the secret from the Key Vault.

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