Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for autoscaling.
You have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1.
You need to ensure that an email alert is generated whenever VMSS1 scales in or out.
Solution: From Azure DevOps, configure the Service hooks settings for Project1.
Does this meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: Azure DevOps Service hooks are used to react to Azure DevOps events (such as builds, releases, or work items) and integrate with external systems. They do not monitor Azure resource behavior. VM scale set scale-in and scale-out events are Azure platform events and must be monitored using Azure Monitor autoscale alerts with an action group configured for email notifications. Therefore, configuring Service hooks in Azure DevOps does not meet the goal.
Question 242
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for autoscaling.
You have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1.
You need to ensure that an email alert is generated whenever VMSS1 scales in or out.
Solution: From Azure Monitor, create an action group.
Does this meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: Creating an action group only defines the notification actions (such as sending email). By itself, it does not generate alerts. To get an email when VMSS1 scales in or out, you must have an alert or autoscale notification configured that triggers on scale events and uses the action group. Therefore, creating only an action group does not meet the goal.
Question 243
You have Azure Pipelines and GitHub integrated as a source code repository.
The build pipeline has continuous integration enabled.
You plan to trigger an automated build whenever code changes are committed to the repository.
You need to ensure that the system will wait until a build completes before queuing another build.
What should you implement?
A. path filters
B. batch changes
C. scheduled builds
D. branch filters
Show Answer
Correct Answer: B
Explanation: In Azure Pipelines, enabling **batch changes** (batch: true) for a CI trigger ensures that when a build is already running, new commits are not queued immediately. Instead, the system waits until the current build completes and then triggers a single new build that includes all accumulated changes. This directly meets the requirement to wait for build completion before queuing another build.
Question 244
DRAG DROP -
You are preparing to deploy an Azure resource group via Terraform.
To achieve your goal, you have to install the necessary frameworks.
Which of the following are the frameworks you should use? Answer by dragging the correct options from the list to the answer area.
Select and Place:
Show Answer
Correct Answer: Yeoman
Terratest
Explanation: Yeoman is used to scaffold and generate Terraform module templates for Azure.
Terratest is a testing framework used to validate Terraform infrastructure code.
Vault and Tiller are not required for deploying Azure resources with Terraform.
Question 245
You have been tasked with strengthening the security of your team's development process.
You need to suggest a security tool type for the Continuous Integration (CI) phase of the development process.
Which of the following is the option you would suggest?
A. Penetration testing
B. Static code analysis
C. Threat modeling
D. Dynamic code analysis
Show Answer
Correct Answer: B
Explanation: The CI phase is ideal for automated checks that run on every build before code is merged. Static code analysis (SAST) analyzes source code without executing it and can be easily integrated into CI pipelines to detect security flaws early. Penetration testing and dynamic code analysis require a running application, and threat modeling is a design-phase activity, not a CI activity.
Question 246
SIMULATION -
You need to create a notification if the peak average response time of an Azure web app named az400-123456789-main is more than five seconds when evaluated during a five-minute period. The notification must trigger the `https://contoso.com/notify` webhook.
To complete this task, sign in to the Microsoft Azure portal.
Show Answer
Correct Answer: Azure Portal → App Services → az400-123456789-main
Monitoring → Alerts → Create alert rule
Condition: Metric = Average Response Time, Aggregation = Max, Operator = Greater than, Threshold = 5 seconds, Time window = 5 minutes
Action group: Add/Create action group with Webhook = https://contoso.com/notify
Create the alert rule
Explanation: An Azure Monitor metric alert is required on the web app’s response time. The condition checks whether the peak (max) average response time exceeds 5 seconds over a 5‑minute window, and the notification is delivered by configuring a webhook in an action group.
Question 247
You have an Azure DevOps project that contains a build pipeline. The build pipeline uses approximately 50 open source libraries.
You need to ensure that all the open source libraries comply with your company's licensing standards.
Which service should you use?
A. NuGet
B. Maven
C. Black Duck
D. Helm
Show Answer
Correct Answer: C
Explanation: The requirement is to verify that open source libraries used in an Azure DevOps build pipeline comply with company licensing standards. This requires a software composition analysis (SCA) tool that scans dependencies and evaluates their licenses. Black Duck is specifically designed for open source license compliance and vulnerability scanning, and it integrates with CI/CD pipelines. NuGet, Maven, and Helm are package or deployment managers, not license compliance services.
Question 249
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.
You run the Register-AzureRmAutomationDscNode command in your company's environment.
You need to make sure that your company's test servers remain correctly configured, regardless of configuration drift.
Solution: You set the -ConfigurationMode parameter to ApplyOnly.
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: No. Setting -ConfigurationMode to ApplyOnly applies the DSC configuration only once and does not monitor or correct configuration drift. To ensure servers remain correctly configured regardless of drift, a mode like ApplyAndAutoCorrect (or at least ApplyAndMonitor) is required.
Question 250
DRAG DROP -
You are configuring the Azure DevOps dashboard. The solution must meet the technical requirements.
Which widget should you use for each metric? To answer, drag the appropriate widgets to the correct metrics. Each widget may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Explanation: Velocity compares planned work versus completed work across iterations. Release pipeline overview shows the status of environments in a release. Query tile displays a count of work items returned by a query.
Question 251
You have a project in Azure DevOps that has a release pipeline.
You need to integrate work item tracking and an Agile project management system to meet the following requirements:
✑ Ensure that developers can track whether their commits are deployed to production.
✑ Report the deployment status.
✑ Minimize integration effort.
Which system should you use?
A. Asana
B. Basecamp
C. Trello
D. Jira
Show Answer
Correct Answer: D
Explanation: Jira integrates natively with Azure DevOps and Azure Pipelines, allowing commits and work items to be linked to builds and releases. This enables developers to track whether their commits are deployed to production and supports deployment status reporting. Compared to Asana, Basecamp, or Trello, Jira provides built-in Agile project management features and established Azure DevOps integrations, minimizing integration effort.
$19
Get all 531 questions with detailed answers and explanations
Instant download HTML + PDF delivered the moment payment clears.
Secure Stripe checkout we never see or store your card details.
7-day refund if files are defective see our refund policy.