ExamGecko
Home Home / Microsoft / AZ-400

Microsoft AZ-400 Practice Test - Questions Answers, Page 34

Question list
Search
Search

List of questions

Search

Related questions











You use get for source control.

You need to commit a 3-G3 ZIP file that contains virtual machines used for testing. The solution must meet the following requirements:

The file must be versioned.

The file must be associated with the corresponding code commits.

Which two actions should you include in the solution? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A.
Store files in Azure Storage and enable blob versions.
A.
Store files in Azure Storage and enable blob versions.
Answers
B.
Install the get IFS extension and associate the extension to ZIP files.
B.
Install the get IFS extension and associate the extension to ZIP files.
Answers
C.
Use GZip to compress the file before committing the file.
C.
Use GZip to compress the file before committing the file.
Answers
D.
Install the git-stash extension and associate the extension to ZIP files.
D.
Install the git-stash extension and associate the extension to ZIP files.
Answers
E.
Install the git-fat extension and associate the extension to ZIP files.
E.
Install the git-fat extension and associate the extension to ZIP files.
Answers
Suggested answer: B, D

You have the services shown in the following table.

You manage a project by using Azure Boards.

You need to notify the services Of build Status changes.

Which services can be notified by using a webhook?

A.
Service1 only
A.
Service1 only
Answers
B.
Service2 only
B.
Service2 only
Answers
C.
Service1 and Service2 only
C.
Service1 and Service2 only
Answers
Suggested answer: C

You are designing a YAML template for use with Azure Pipelines. The template Will include the Outputfile parameter.

Which two methods can you use to reference the parameter? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
E.
Option E
E.
Option E
Answers
Suggested answer: C, D

You manage projects by using Azure Boards.

You have a current work item name itemA that is dependant on a work item named item3.

You need to define the dependency for item

A.
What should you do in the web portal for Azure DevOps?
A.
What should you do in the web portal for Azure DevOps?
Answers
B.
From Backlogs, open the context menu, select Add link and then select item3. Set Link type to Related and add the ID of itemA
B.
From Backlogs, open the context menu, select Add link and then select item3. Set Link type to Related and add the ID of itemA
Answers
C.
From itemA open the Links tab, and then select Add link. Set Link type to Successor and add the ID of itemB.
C.
From itemA open the Links tab, and then select Add link. Set Link type to Successor and add the ID of itemB.
Answers
D.
From Queries, open the context menu, select Add link, and then select Existing item. Set Link type to Affected By and add the ID of itemB.
D.
From Queries, open the context menu, select Add link, and then select Existing item. Set Link type to Affected By and add the ID of itemB.
Answers
E.
From itemA, open the Links tab, and then select Add link. Set Link type to References and add the ID Of itemB.
E.
From itemA, open the Links tab, and then select Add link. Set Link type to References and add the ID Of itemB.
Answers
Suggested answer: B

You use Azure Pipelines to build and release application code, The pipelines include validation tests that must be completed successfully before deployment proceeds from the test stage to production. You discover inconsistent test outcomes for the same source code.

You need to validate the test logic.

What should you do?

A.
Decrease the test pass rate.
A.
Decrease the test pass rate.
Answers
B.
Configure a parallel test runner.
B.
Configure a parallel test runner.
Answers
C.
Enable flaky test detection.
C.
Enable flaky test detection.
Answers
D.
Install the Analytics extension.
D.
Install the Analytics extension.
Answers
Suggested answer: B

You are integrating an Azure Boards project and a GitHub repository.

You need to authenticate Azure Boards to GitHub.

Which two authentication methods can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.
a trusted root certificate
A.
a trusted root certificate
Answers
B.
a publisher certificate
B.
a publisher certificate
Answers
C.
Azure Active Directory (Azure AD)
C.
Azure Active Directory (Azure AD)
Answers
D.
GitHub user credentials
D.
GitHub user credentials
Answers
E.
a personal access token (PAT)
E.
a personal access token (PAT)
Answers
Suggested answer: C, D

You have an Azure subscription that contains Azure DevOps build pipelines.

You to implement pipeline caching by using the cache task

HOW should you complete the YAML definition? TO answer, select the appropriate options in the answer are a.

A.
A.
Answers
Suggested answer: A

You need to make a custom package available to all the developers. The package must be managed centrally, and the latest version must be available for consumption in Visual Studio automatically. Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.
Add the package URL to the Environment settings in Visual Studio.
A.
Add the package URL to the Environment settings in Visual Studio.
Answers
B.
Create a get repository in Azure Repos.
B.
Create a get repository in Azure Repos.
Answers
C.
Add the package URL to the NuGet Package Manager settings in Visual Studio.
C.
Add the package URL to the NuGet Package Manager settings in Visual Studio.
Answers
D.
Upload a package to a get repository.
D.
Upload a package to a get repository.
Answers
E.
Create a new feed in Azure Artifacts.
E.
Create a new feed in Azure Artifacts.
Answers
F.
Publish the package to a feed.
F.
Publish the package to a feed.
Answers
Suggested answer: A, B, E

You have an Azure subscription that contains 50 virtual machines

You plan to manage the configuration of the virtual machines by using Azure Automation State Configuration. You need to create the Desired State Configuration (DSO configuration files.

How should structure the code blocks?

A.
Node>Configuration>Resource
A.
Node>Configuration>Resource
Answers
B.
Configuration>Node> Resource
B.
Configuration>Node> Resource
Answers
C.
Configuration>ReSource>Node
C.
Configuration>ReSource>Node
Answers
D.
Resource>Configuration>Node
D.
Resource>Configuration>Node
Answers
Suggested answer: B

Explanation:

In Azure Automation State Configuration, the Desired State Configuration (DSC) configuration files are used to define the desired state of resources on a system. The structure of the code blocks in a DSC configuration file should be organized in a logical and meaningful way.One way to structure the code blocks is as follows: Configuration: This block defines the overall configuration, including any parameters that are used in the configuration.Node: This block defines the target node(s) for the configuration, typically specified by the hostname or IP address of the target system.Resource: This block defines the resources that are managed by the configuration, including the resource type, module, and properties. "A configuration script consists of the following parts: The Configuration block. This is the outermost script block. You define it by using the Configuration keyword and providing a name. In this case, the name of the configuration is MyDscConfiguration.One or more Node blocks. These define the nodes (computers or VMs) that you are configuring. In the above configuration, there is one Node block that targets a computer named TEST-PC1. The Node block can accept multiple computer names.One or more resource blocks. This is where the configuration sets the properties for the resources that it is configuring. In this case, there are two resource blocks, each of which call the WindowsFeature resource."https://docs.microsoft.com/en-us/powershell/dsc/configurations/configurations?view=dsc- 1.1#configuration-syntax

You use get for source control. You have an app named Appt.

In the main branch. you need to restore the third most recent revision of a file named App.exe.config. How should you complete command?

A.
A.
Answers
Suggested answer: A
Total 482 questions
Go to page: of 49