Microsoft Azure Administrator Associate AZ-104 Practice Question
You are managing an Azure Storage Account that is actively used by a critical business application. To comply with security policies, you must regenerate the access keys periodically. Your primary goal is to perform this security maintenance without causing any service interruption for the application. What is the recommended approach?
Pause the application, regenerate the primary access key, and then restart the application with the new key.
Update the application to use the secondary access key, regenerate the primary access key, and then update the application to use the new primary key.
Configure Microsoft Entra ID authentication for the application, as this is the only way to avoid downtime during security updates.
Generate a short-lived SAS token for the application to use, regenerate both primary and secondary keys, then provide the application with a new key.
Azure Storage accounts provide two access keys (a primary and a secondary key) to facilitate key rotation without service interruption. The correct procedure is to first update the application's connection strings to use the secondary key. With the application running on the secondary key, you can safely regenerate the primary key. Once the primary key is regenerated, you can update the application to use the new primary key and then, if desired, regenerate the secondary key. This process ensures the application always has a valid key to connect to the storage account, preventing downtime.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is key rotation in Azure, and why is it important?
Open an interactive chat with Bash
How can you regenerate an access key in an Azure Storage Account?
Open an interactive chat with Bash
What best practices should be followed when handling Azure Storage Account access keys?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Implement and manage storage
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .