Provision an Azure Storage Table

This IT Pro Challenge virtual lab shows learners how to use the Azure portal to create a Storage Account and update an existing Web Application with a new connection string. As proof of concept, learners will verify that the Web App loaded/read rows in a Storage Table. Learners will also verify that logging is active for the Storage Account.

0
45
M
Time
Beginner
difficulty
1
ceu/cpe

Course Content

No items found.
No items found.
Course Description

In this IT Pro Challenge, learners will understand how to create an Azure Storage Account and add and configure a new connection string for a Web Application using the Azure portal. Learners will use a test application to verify that the Web Application loaded rows in a Storage and table and also read those rows. Learners will use the Azure Command Line Interface (CLI) to verify that logging is active and to download the log file(s). The skills acquired in this lab are useful for careers as a network or system administrator.

Overview

The scenario for this virtual lab is that you are a system administrator, and your company is migrating its document processing system from their on-premise data center to Azure. Your job is to create an Azure Storage Table that will store the document processing history. To do this, you need to create an Azure Storage Account, create an Azure Storage Table within that Storage Account, and activate logging. Then, you need to add a connection string for the Storage Account to a Web Application (provided with the lab). As a proof of concept, you will test the Storage Table you create with the Web App and verify that activity is being logged by viewing the $logs file.

Create a Storage Account

To begin this virtual lab, you first need to sign in to the Azure portal and create an Azure storage account. Then you will add a Storage Table (history) to that storage account, navigate to the Diagnostics logs window of the blade for a provided storage account, and activate read and write logging for the history Storage Table under Table properties.

Update the Web App

Next, you will navigate to the Access Keys page of the storage account that you created in the previous step and copy the connection string for the key1 Access Key. Then you will navigate to the provided Web App blade, open the Application settings page, and add/configure a new connection string (storageConnection). This new connection string is now part of the Web App and has the value of the Storage Account connection string.

Test the Storage Table

Finally, you will test the Storage Table you created and configured (history) by opening a test web page that is provided with the lab. You will load the Storage Table, and you should see that the Web App loaded rows to the Storage Table. You will then verify the Storage Table; you should see that the Web App has read rows from the Storage Table.

Then, you will go back to the Azure portal, launch a Cloud Shell session, and choose Bash (Linux) as the shell type. You will then use the advanced settings to verify that the existing Resource group and Storage account are selected. Then you will create a new File share (bash) and use the following Azure Command Line Interface (CLI) command to verify that logging is active for the Storage Account: key=$(az storage account keys list -n [Storage Account name] -g [resource group name] --query "[*] | [0].value") az storage container show --account-name [Storage Account name] --account-key $[key name] --name "$logs"

NOTE: Storage Account logs are written to a container named $logs, which is hidden unless you specifically identify it on the CLI.

Finally, you will download the Storage Account log file(s) by running the az storage blob download-batch --destination . --source "$logs" --account-name [Storage Account name] --account-key $[key name] command. If you were successful, you should see log data in the $logs file.

Summary Conclusion

By taking this virtual lab, you will learn how to provision an Azure Storage Account, create a table in that Storage Account, update a Web Application to use a new connection string that works with the Storage Account, and test the table with the custom Web app by viewing the $logs file.

This course is part of a Career Path:
No items found.

Instructed by

No items found.
Provider
Cybrary Logo
Certification Body
Certificate of Completion

Complete this entire course to earn a Provision an Azure Storage Table Certificate of Completion

Course
This is some text inside of a div block.

Provision an Azure Storage Table

Course

This IT Pro Challenge virtual lab shows learners how to use the Azure portal to create a Storage Account and update an existing Web Application with a new connection string. As proof of concept, learners will verify that the Web App loaded/read rows in a Storage Table. Learners will also verify that logging is active for the Storage Account.

Path Releasing Q2 2025
Full access included with 
Insider Pro
 and 
Teams

0

H

45

M
Time

Beginner

i
This is some text inside of a div block.
Experience Level

1

i

This is some text inside of a div block.
CEU's

1

Enrollees

Heading

H

Heading

M
Time

Heading

i
This is some text inside of a div block.
Experience Level

Heading

i

This is some text inside of a div block.
CEU's

Heading

Enrollees

Learners at 96% of Fortune 1000 companies trust Cybrary

About this course

This IT Pro Challenge virtual lab shows learners how to use the Azure portal to create a Storage Account and update an existing Web Application with a new connection string. As proof of concept, learners will verify that the Web App loaded/read rows in a Storage Table. Learners will also verify that logging is active for the Storage Account.

Read More

Course Description

In this IT Pro Challenge, learners will understand how to create an Azure Storage Account and add and configure a new connection string for a Web Application using the Azure portal. Learners will use a test application to verify that the Web Application loaded rows in a Storage and table and also read those rows. Learners will use the Azure Command Line Interface (CLI) to verify that logging is active and to download the log file(s). The skills acquired in this lab are useful for careers as a network or system administrator.

Overview

The scenario for this virtual lab is that you are a system administrator, and your company is migrating its document processing system from their on-premise data center to Azure. Your job is to create an Azure Storage Table that will store the document processing history. To do this, you need to create an Azure Storage Account, create an Azure Storage Table within that Storage Account, and activate logging. Then, you need to add a connection string for the Storage Account to a Web Application (provided with the lab). As a proof of concept, you will test the Storage Table you create with the Web App and verify that activity is being logged by viewing the $logs file.

Create a Storage Account

To begin this virtual lab, you first need to sign in to the Azure portal and create an Azure storage account. Then you will add a Storage Table (history) to that storage account, navigate to the Diagnostics logs window of the blade for a provided storage account, and activate read and write logging for the history Storage Table under Table properties.

Update the Web App

Next, you will navigate to the Access Keys page of the storage account that you created in the previous step and copy the connection string for the key1 Access Key. Then you will navigate to the provided Web App blade, open the Application settings page, and add/configure a new connection string (storageConnection). This new connection string is now part of the Web App and has the value of the Storage Account connection string.

Test the Storage Table

Finally, you will test the Storage Table you created and configured (history) by opening a test web page that is provided with the lab. You will load the Storage Table, and you should see that the Web App loaded rows to the Storage Table. You will then verify the Storage Table; you should see that the Web App has read rows from the Storage Table.

Then, you will go back to the Azure portal, launch a Cloud Shell session, and choose Bash (Linux) as the shell type. You will then use the advanced settings to verify that the existing Resource group and Storage account are selected. Then you will create a new File share (bash) and use the following Azure Command Line Interface (CLI) command to verify that logging is active for the Storage Account: key=$(az storage account keys list -n [Storage Account name] -g [resource group name] --query "[*] | [0].value") az storage container show --account-name [Storage Account name] --account-key $[key name] --name "$logs"

NOTE: Storage Account logs are written to a container named $logs, which is hidden unless you specifically identify it on the CLI.

Finally, you will download the Storage Account log file(s) by running the az storage blob download-batch --destination . --source "$logs" --account-name [Storage Account name] --account-key $[key name] command. If you were successful, you should see log data in the $logs file.

Summary Conclusion

By taking this virtual lab, you will learn how to provision an Azure Storage Account, create a table in that Storage Account, update a Web Application to use a new connection string that works with the Storage Account, and test the table with the custom Web app by viewing the $logs file.

Train Your Team

Cybrary’s expert-led cybersecurity courses help your team remediate skill gaps and get up-to-date on certifications. Utilize Cybrary to stay ahead of emerging threats and provide team members with clarity on how to learn, grow, and advance their careers within your organization.

Included in a Path

No items found.
Learn

Learn core concepts and get hands-on with key skills.

Practice

Exercise your problem-solving and creative thinking skills with security-centric puzzles

Prove

Assess your knowledge and skills to identify areas for improvement and measure your growth

Get Hands-on Learning

Put your skills to the test in virtual labs, challenges, and simulated environments.

Measure Your Progress

Track your skills development from lesson to lesson using the Cybrary Skills Tracker.

Connect with the Community

Connect with peers and mentors through our supportive community of cybersecurity professionals.

Success from Our Learners

"Cybrary really helped me get up to speed and acquire a baseline level of technical knowledge. It offers a far more comprehensive approach than just learning from a book. It actually shows you how to apply cybersecurity processes in a hands-on way"

Don Gates

Principal Systems Engineer/SAIC

"Cybrary’s SOC Analyst career path was the difference maker, and was instrumental in me landing my new job. I was able to show the employer that I had the right knowledge and the hands-on skills to execute the role."

Cory

Cybersecurity analyst/

"I was able to earn my CISSP certification within 60 days of signing up for Cybrary Insider Pro and got hired as a Security Analyst conducting security assessments and penetration testing within 120 days. This certainly wouldn’t have been possible without the support of the Cybrary mentor community."

Mike

Security Engineer and Pentester/

"Cybrary really helped me get up to speed and acquire a baseline level of technical knowledge. It offers a far more comprehensive approach than just learning from a book. It actually shows you how to apply cybersecurity processes in a hands-on way"

Don Gates

Principal Systems Engineer/SAIC

"Cybrary’s SOC Analyst career path was the difference maker, and was instrumental in me landing my new job. I was able to show the employer that I had the right knowledge and the hands-on skills to execute the role."

Cory

Cybersecurity analyst/

"I was able to earn my CISSP certification within 60 days of signing up for Cybrary Insider Pro and got hired as a Security Analyst conducting security assessments and penetration testing within 120 days. This certainly wouldn’t have been possible without the support of the Cybrary mentor community."

Mike

Security Engineer and Pentester/

"Becoming a Cybrary Insider Pro was a total game changer. Cybrary was instrumental in helping me break into cybersecurity, despite having no prior IT experience or security-related degree. Their career paths gave me clear direction, the instructors had real-world experience, and the virtual labs let me gain hands-on skills I could confidently put on my resume and speak to in interviews."

Cassandra

Information Security Analyst/Cisco Systems

"I was able to earn both my Security+ and CySA+ in two months. I give all the credit to Cybrary. I’m also proud to announce I recently accepted a job as a Cyber Systems Engineer at BDO... I always try to debunk the idea that you can't get a job without experience or a degree."

Casey

Cyber Systems Engineer/BDO

"Cybrary has helped me improve my hands-on skills and pass my toughest certification exams, enabling me to achieve 13 advanced certifications and successfully launch my own business. I love the practice tests for certification exams, especially, and appreciate the wide-ranging training options that let me find the best fit for my goals"

Angel

Founder,/ IntellChromatics.