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 16 out of 98 Pages

Topic 2: Contoso Case Study: 2

   

Overview
Existing Environment
Contoso, Ltd. is a manufacturing company that has a main office in Chicago.
Requirements
Contoso plans to improve its IT development and operations processes implementing Azue
DevOps principles. Contoso has an Azure subscription and creates an Azure DevOPs
organization.
The Azure DevOps organization includes:
The Docker extension
A deployment pool named Pool7 that contains 10 Azure virtual machines that run
Windows Server 2016.
The Azure subscription contains an Azure Automation account.
Planned Changes
Contoso plans to create projects in Azure DevOps as shown in the following table.

Technical Requirements
Contoso identities the following technical requirements:
• Implement build agents rot Project 1.
• Whenever possible, use Azure resources
•Avoid using deprecated technologies
• Implement a code flow strategy for Project2 that will:
•Enable Team 2 to submit pull requests for Project2.
• Enable Team 2 to work independently on changes to a copy of Project?
• Ensure that any intermediary changes performed by Tram2 on a copy of Project2 will be
subject to the same restrictions as the ones defied in the build policy of Project2.
• Whenever possible. Implement automation and minimize administrative effort.
• Implement Protect3, Project5, Project6, and Project7 based on the planned changes.
• Implement Project4 and configure the project to push Docker images to Azure Container
Reentry.

You need to implement Project4. What should you do first?


A. Add the FROM instruction in the Dockerfile file.


B. Add a Copy and Publish Build Artifacts task to the build pipeline.


C. Add a Docker task to the build pipeline.


D. Add the MAINTAINER instruction in the Dockerfile file.





C.
  Add a Docker task to the build pipeline.

Explanation: Scenario: Implement Project4 and configure the project to push Docker images to Azure Container Registry.
You use Azure Container Registry Tasks commands to quickly build, push, and run a Docker container image natively within Azure, showing how to offload your "inner-loop" development cycle to the cloud. ACR Tasks is a suite of features within Azure Container Registry to help you manage and modify container images across the container lifecycle.

You have an Azure subscription that contains an Azure pipeline named Pipeline1 and a GitHub repository named Repo1, Repo1 contains Bicep modules. Pipeline1 deploys Azure resources by using the Bicep modules. You need to ensure that all releases comply with Azure Policy before they are deployed to production. What should you do?


A. Configure a deployment gate for Pipeline' include the Azure DevOps Security and compliance assessment task.


B. Create an Azure DevOps build runs on the creation of a pull request assesses the code tor compliance.


C. To Pipeline1, add a step that runs a What If deployment before the deployment step.


D. Configure a deployment gate for Pipeline' that uses Azure Automation to run a What If deployment





A.
  Configure a deployment gate for Pipeline' include the Azure DevOps Security and compliance assessment task.

You manage a project by using Azure Boards. You manage the project code by using GitHub. You have three work items that have IDs of 456. 457. and 458. You need to create a pull request that will be linked to all the work items. The solution must set the state of work item 456 to done. What should you add to the commit message?


A. Done #456, #457, #A53


B. Fixes #456, #457, #458


C. Fixes #AB456, #AB457, #AB4S8


D. #AB456, #AB457, #AB458 Completed #AB456





C.
  Fixes #AB456, #AB457, #AB4S8

You need to implement the code flow strategy for Project2 in Azure DevOps.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange in the correct order.








Step 1: Create a repository
A Git repository, or repo, is a folder that you've told Git to help you track file changes in. You can have any number of repos on your computer, each stored in their own folder.
Step 2: Create a branch
Branch policies help teams protect their important branches of development. Policies enforce your team's code quality and change management standards.
Step 3: Add a build validation policy
When a build validation policy is enabled, a new build is queued when a new pull request is created or when changes are pushed to an existing pull request targeting this branch. The build policy then evaluates the results of the build to determine whether the pull request can be completed.
Scenario:
Implement a code flow strategy for Project2 that will: Enable Team2 to submit pull requests for Project2.
Enable Team2 to work independently on changes to a copy of Project2.
Ensure that any intermediary changes performed by Team2 on a copy of Project2 will be subject to the same restrictions as the ones defined in the build policy of Project2.

Your company is building a mobile app that targets Android devices and OS devices. Your team uses Azure DevOps to manage all work items and release cycles. You need to recommend a solution to perform the following tasks:

  • Collect crash reports for issue analysis
  • Distribute beta releases to your testers.
  • Get user feedback on the functionality of new apps.
What should you include in the recommendation?


A. Jenkins integration


B. Azure Application Insights widgets


C. the Microsoft Test & Feedback extension


D. Microsoft Visual Studio App Center integration





D.
  Microsoft Visual Studio App Center integration

The "Exploratory Testing" extension is now "Test & Feedback" and is now Generally Available. Anyone can now test web apps and give feedback, all directly from the browser on any platform: Windows, Mac, or Linux. Available for Google Chrome and Mozilla Firefox (required version 50.0 or above) currently. Support for Microsoft Edge is in the pipeline and will be enabled once Edge moves to a Chromium-compatible web platform.


Page 16 out of 98 Pages
Previous