Go Back on AZ-400 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

AZ-400 Practice Test


Page 22 out of 98 Pages

Topic 5, Labs & Tasks

Task 6
Initialize the default main branch, if it does not exist already.
For Project 1, you need to implement branch merging restrictions to enable squash merge for all changes merged into the main branch.






Answer: See the solution below in explanation.

Explanation: Step 1: Initialize the Default Main Branch
Navigate to Azure DevOps:
Select Your Project:
Initialize the Main Branch:
Step 2: Enable Squash Merge for the Main Branch
Navigate to Branch Policies: Enable Squash Merge: Save Changes:
Step 3: Verify the Squash Merge Policy
Create a Pull Request: Complete the Pull Request

Task 2
For the RG1 lod42147S09 resource group, you need to create an action group named DevOpsAG that can be triggered in any region by using Alerts.
The action group must email two users named admin1 @contoso.com and admin2@contoso.com and notify members of the Owner role for the resource.
Use only the common alert schema for notifying the resource owners.






Answer: See the solution below in explanation.

Explanation: Step 1: Create an Action Group
Navigate to Azure Portal:
Access Azure Monitor:
Create Action Group:
Configure Basic Settings:
Step 2: Define Actions
Add Email Notifications:
Notify Resource Owners:
Step 3: Enable Common Alert Schema
Common Alert Schema:
Step 4: Review and Create
Review:
Create:
By following these steps, you will have successfully created an action group named DevOpsAG that emails the specified users and notifies resource owners using the common alert schema

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. Your company has a project in Azure DevOps for a new web application. You need to ensure that when code is checked in, a build runs automatically. Solution: From the Pre-deployment conditions settings of the release pipeline, you select After stage. Does this meet the goal?


A. Yes


B. No





B.
  No

Instead, In Visual Designer you enable continuous integration (CI) by:

  • Select the Triggers tab.
  • Enable Continuous integration.

Task 3
You need to ensure that an Azure Web App named az400-38443478-matn supports rolling upgrades The solution must ensure that only 10 percent of users who connect to az400- 38443478 main use updated versions of the app. The solution must minimize administrative effort.






Answer: See the solution below in explanation.

Explanation: To ensure that your Azure Web App named az400-38443478-main supports rolling upgrades and only 10 percent of users connect to the updated version of the app, you can use deployment slots with the following steps:
Create a Deployment Slot: uk.co.certification.simulator.questionpool.PList@45d2312b Configure the Traffic Percentage:
Deploy the Updated App to the Staging Slot:
Complete the Rolling Upgrade:
By using deployment slots, you can achieve rolling upgrades with minimal administrative effort, as it allows you to test the new version on a subset of users before fully releasing it. Remember to adjust the traffic percentage and monitor the application’s performance throughout the process.

You have a public GitHub repository named Public1. A commit is made to Public1. The commit contains a pattern that matches a regular expression. Who is notified first when the commit is made?


A. the owner of Public1


B. the secret scanning partner


C. the committer


D. the administrator of the GitHub organization





B.
  the secret scanning partner


Page 22 out of 98 Pages
Previous