The answer is the storage account access key is exposed in the template. This is the most significant security concern because the ARM template defines the storage account key as a plaintext parameter, meaning anyone with access to the template file—whether in source control, deployment logs, or during review—can retrieve the key and gain unrestricted access to the storage account, including the ability to read, modify, or delete audit logs. On the Microsoft Azure Database Administrator Associate DP-300 exam, this scenario tests your understanding of secure deployment practices and the principle of least privilege; a common trap is overlooking that embedded keys bypass Azure RBAC and remain valid indefinitely. To avoid this, always use managed identities or Azure AD authentication for Azure SQL audit policies instead of hardcoding secrets. Memory tip: “Keys in templates are keys to disaster—use identities to audit with security.”
DP-300 Implement a secure environment Practice Question
This DP-300 practice question tests your understanding of implement a secure environment. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Refer to the exhibit. You are deploying an Azure SQL Database audit policy using an ARM template. What is the MOST significant security concern with the configuration shown?
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The storage account access key is exposed in the template
The ARM template exposes the storage account access key in plaintext as a parameter value. This is a critical security concern because anyone with access to the template (e.g., in source control or deployment logs) can retrieve the key and gain unrestricted access to the storage account, including reading, modifying, or deleting audit logs. Azure SQL Database audit policies should use managed identities or Azure AD authentication to avoid embedding secrets.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
Enabling Azure Monitor target could allow unauthorized access to logs
Why it's wrong here
Azure Monitor target is secure when configured correctly.
✓
The storage account access key is exposed in the template
Why this is correct
Hardcoding keys is insecure; use a managed identity or Key Vault reference.
Related concept
Read the scenario before looking for a memorised answer.
✗
Retention of 90 days may be too short for compliance
Why it's wrong here
Retention is a compliance requirement, not a security concern.
✗
Including successful authentication events may expose sensitive login activity
Why it's wrong here
Successful authentication auditing is normal and not a security concern.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may focus on audit event types or retention periods as security concerns, but the real risk is the plaintext storage account key in the template, which is a classic secret exposure vulnerability.
Detailed technical explanation
How to think about this question
Storage account access keys provide full administrative access to the storage account, including the ability to list, read, write, and delete blobs. In an ARM template, parameters are often stored in parameter files or passed during deployment, and if the template is checked into source control, the key becomes a permanent secret leak. Azure SQL Database audit supports using a managed identity to access the storage account, which eliminates the need for any key in the template and follows the principle of least privilege.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this DP-300 question in full detail.
Implement a secure environment — This question tests Implement a secure environment — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The storage account access key is exposed in the template — The ARM template exposes the storage account access key in plaintext as a parameter value. This is a critical security concern because anyone with access to the template (e.g., in source control or deployment logs) can retrieve the key and gain unrestricted access to the storage account, including reading, modifying, or deleting audit logs. Azure SQL Database audit policies should use managed identities or Azure AD authentication to avoid embedding secrets.
What should I do if I get this DP-300 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This DP-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-300 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.