AZ-400 Exam Questions

Total 488 Questions

Last Updated Exam : 16-Dec-2024

Topic 4: Mix Questions Set

You have an existing project in Azure DevOps. You plan to integrate GitHub as the repository for the project. You need to ensure that Azure Pipelines runs under the Azure Pipelines identity. Which authentication mechanism should you use?


A. GitHubApp


B. OAuth


C. personal access token (PAT)


D. Azure Active Directory (Azure AD)





A.
  GitHubApp

GitHub App uses the Azure Pipelines identity.

You need to configure Azure Automation for the computer in Group7. 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 them in the correct order.






You need to recommend a procedure to implement the build agent for Project1. Which three actions should you recommend be performed in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.








Step 1: Sign in to Azure Develops by using an account that is assigned the Administrator service connection security role.
Note: Under Agent Phase, click Deploy Service Fabric Application. Click Docker Settings and then click Configure Docker settings. In Registry Credentials Source, select Azure Resource Manager Service Connection. Then select your Azure subscription.
Step 2: Create a personal access token.. A personal access token or PAT is required so that a machine can join the pool created with the Agent Pools (read, manage) scope.
Step 3: Install and register the Azure Pipelines agent on an Azure virtual machine. By running a Azure Pipeline agent in the cluster, we make it possible to test any service, regardless of type.

You need to configure Azure Automation for the computers in Pool7.
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 them m the correct order.






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 plan to create a release pipeline that will deploy Azure resources by using Azure Resource Manager templates. The release pipeline will create the following resources:

  • Two resource groups
  • Four Azure virtual machines in one resource group
  • Two Azure SQL databases in other resource group
You need to recommend a solution to deploy the resources. Solution: Create a main template that has two linked templates, each of which will deploy the resource in its respective group. Does this meet the goal?


A. Yes


B. No





A.
  Yes

To deploy your solution, you can use either a single template or a main template with many related templates. The related template can be either a separate file that is linked to from the main template, or a template that is nested within the main template.

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 8 out of 49 Pages
Previous