AZ-301 Quality Control & Assurance 2 — Questions and Answers
Question 1: Your team wants to enforce that all Azure resources in a subscription must have specific tags before deployment. Which Azure service enforces this policy at resource creation time?
- Azure Monitor
- Azure Policy (Correct answer)
- Azure Advisor
- Azure Blueprints
Correct answer: Azure Policy
Azure Policy evaluates resources against defined rules at creation and update time, allowing enforcement of tag requirements.
Question 2: A solutions architect needs to ensure application performance meets SLA targets under peak load. Which Azure service provides built-in load testing to validate this?
- Azure Load Balancer
- Azure Traffic Manager
- Azure Load Testing (Correct answer)
- Azure Application Gateway
Correct answer: Azure Load Testing
Azure Load Testing is a fully managed service that generates high-scale load to identify performance bottlenecks before production.
Question 3: Your organization must demonstrate compliance with ISO 27001 for an Azure deployment. Which tool provides prebuilt compliance reports and control mappings?
- Azure Security Center
- Microsoft Defender for Cloud
- Azure Compliance Manager (Microsoft Purview Compliance Manager) (Correct answer)
- Azure Policy
Correct answer: Azure Compliance Manager (Microsoft Purview Compliance Manager)
Microsoft Purview Compliance Manager provides prebuilt assessments, control mappings, and compliance scores for standards like ISO 27001.
Question 4: An architect wants to detect anomalies and quality regressions in a web application's response times over time. Which Application Insights feature provides this automatically?
- Live Metrics Stream
- Smart Detection (Intelligent Alerts) (Correct answer)
- Availability Tests
- Application Map
Correct answer: Smart Detection (Intelligent Alerts)
Smart Detection in Application Insights automatically analyzes telemetry and alerts on anomalous patterns such as degraded response times.
Question 5: During a quality gate review, an Azure DevOps pipeline must fail if code coverage drops below 80%. Where is this threshold configured?
- Branch policies in Azure Repos
- Test Plans in Azure Test Plans
- Build validation in the pipeline YAML using code coverage tasks (Correct answer)
- Azure Monitor alert rules
Correct answer: Build validation in the pipeline YAML using code coverage tasks
Code coverage thresholds are enforced in the pipeline YAML by configuring the code coverage task with a minimum coverage percentage that fails the build.
Question 6: A QA team needs to run exploratory tests and track manual test results in Azure. Which Azure DevOps service is designed specifically for this?
- Azure Boards
- Azure Test Plans (Correct answer)
- Azure Repos
- Azure Pipelines
Correct answer: Azure Test Plans
Azure Test Plans provides a browser-based interface for planning, executing, and tracking manual and exploratory tests.
Question 7: Your team wants to validate that an Azure infrastructure deployment is idempotent and produces consistent results on every run. Which approach best assures deployment quality?
- Run the deployment manually and review logs
- Use ARM template what-if operations before each deployment (Correct answer)
- Enable Azure Advisor recommendations
- Schedule Azure Policy scans nightly
Correct answer: Use ARM template what-if operations before each deployment
ARM template what-if operations preview the changes a deployment will make without applying them, validating consistency and detecting drift.
Your team wants to enforce that all Azure resources in a subscription must have specific tags before deployment.
Which Azure service enforces this policy at resource creation time?