Summer Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Microsoft AZ-400 - Microsoft Azure DevOps Solutions

Page: 9 / 12
Total 628 questions

You have a GitHub organization that contains a repository and an organizational secret named DB.Credential. You need to build a workflow that will configure a server by using PowerShell and DB.Credential. How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

You manage package feeds by using Azure Artifacts.

You plan to create a new package feed that will include the following views:

• @ Local

• ©Latest

• @Release

• ©Prerelease

Which view should you create manually '

A.

©Prerelease

B.

©Release

C.

©Latest

D.

©Local

Task 8

You need to ensure that the https://contoso.com/statushook webhookis called every time a repository named az40038443478acr 1 receives a new version of an image named dotnetapp

Task 10

You need to create a variable group named varGroup1 that will contain the following variables and default values:

• username: Userl-48901628

• password: aFpJ2j+6M!

The PASSWORD variable must be secret.

You have a GitHub organization.

You ate creating a GitHub Actions workflow.

You need to perform authenticated AP1 requests by using a GitHub app name App1.

Which four 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 have a GitHub repository that contains the code for an app named App1.

App1 depends on a library of functions from a repository at https://github.com/contoso/afeed.

You need to keep a clone of a feed repository as a subdirectory of the App1 repository.

How should you complete the Git command? To answer, drag the appropriate values to the correct targets. Each value 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.

Task 7

You need to create a pipeline to deploy a Docker image. The commit must be created in a new branch named azure-pipelines.

The pipeline must be created by using the predefined Docker template.

You have an Azure functionhosted in an App Service plan named az400-9940427-func1.

You need to configure az400-9940427-func1 to upgrade the functions automatically whenever new code is committed to the master branch of https://github.com/Azure-Samples/functions-quickstart.

To complete this task, sign in to the Microsoft Azure portal.

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.

You need !0 the merge the POC branch into the default branch. The solution must meet the technical requirements. Which command should you run?

A.

it push

B.

git merge -- allow-unrelated-histories

C.

git rebase

D.

git merge --squash