ExamGecko
Home Home / Microsoft / AZ-400

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

Question list
Search
Search

List of questions

Search

Related questions











DRAG DROP

You have an Azure subscription that contains a resources group named RG1. RG1 contains the following resources:

Four Azure virtual machines that run Windows Server and have Internet Information Services (IIS) installed. SQL Server on an Azure virtual machine.

An Azure Load Balancer.

You need to deploy an application to the virtual machines in RG1 by using Azure Pipelines.

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.

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.


Question 121
Correct answer: Question 121

Explanation:

Step 1: Create an agent pool

Azure Pipelines provides a pre-defined agent pool named Azure Pipelines with Microsoft-hosted agents.

Step 2: Create a deployment group

Deployment groups make it easy to define logical groups of target machines for deployment, and install the required agent on each machine.

Step 3: Add the Azure Pipelines Agent extension to the virtual machines

Install the Azure Pipelines Agent Azure VM extension

Step 4: Add and configure a deployment group job for the pipeline

Tasks that you define in a deployment group job run on some or all of the target servers, depending on the arguments you specify for the tasks and the job itself.

Reference:

https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deployment-groups/howto-provision-deployment-group-agents

HOTSPOT

You currently use JIRA, Jenkins, and Octopus as part of your DevOps processes.

You plan to use Azure DevOps to replace these tools.

Which Azure DevOps service should you use to replace each tool? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 122
Correct answer: Question 122

Explanation:

Reference: https://octopus.com/blog/octopus-jira-integration https://www.azuredevopslabs.com/labs/vstsextend/jenkins/

DRAG DROP

You have a project in Azure DevOps that uses packages from multiple public feeds. Some of the feeds are unreliable.

You need to consolidate the packages into a single feed.

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.


Question 123
Correct answer: Question 123

Explanation:

Step 1: Create a NuGet package.

NuGet and Maven are public package managers that support multiple feeds.

Step 2: Create an Azure Artifacts feed that uses upstream sources

If you want to use packages from multiple feeds, use upstream sources to bring packages from multiple feeds together into a single feed.

Step 3: Create a Micrtosoft Visual Studio project that includes all the packages

Consume NuGet packages from upstream sources: Now you can open Visual Studio and install packages from the upstream sources you just configured.

Reference:

https://docs.microsoft.com/en-us/azure/devops/artifacts/how-to/set-up-upstream-sources

HOTSPOT

You have the Azure DevOps pipeline shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.

NOTE: Each correct selection is worth one point.


Question 124
Correct answer: Question 124

Explanation:

Box 1: 1

The Cloud agent job only.

Box 2: 4

The pipelines has the four tasks: NuGet restore, Compile Application, Copy Files, and Publish Artifact.

Reference:

https://azuredevopslabs.com/labs/azuredevops/continuousintegration/

DRAG DROP

You need to use Azure Automation State Configuration to manage the ongoing consistency of virtual machine configurations.

Which five 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.

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.


Question 125
Correct answer: Question 125

DRAG DROP

You are building an application that has the following assets:

Source code

Logs from automated tests and builds

Large and frequently updated binary assets

A common library used by multiple applications

Where should you store each asset? To answer, drag the appropriate Azure services to the correct assets. Each service may be used once. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.


Question 126
Correct answer: Question 126

Explanation:

Box 1: Azure Repos

Box 2: Azure Artifacts

Use Azure Artifacts to create, host, and share packages with your team.

Box 3: Azure Pipelines

In the pipeline view you can see all the stages and associated tests. The view provides a summary of the test results

Box 4: Azure Storage

Reference:

https://docs.microsoft.com/en-us/azure/devops/repos/get-started/what-is-repos

https://azure.microsoft.com/en-us/services/devops/artifacts/

https://docs.microsoft.com/en-us/azure/devops/pipelines/test/review-continuous-test-results-after-build

You have a build pipeline in Azure Pipelines that uses different jobs to compile an application for 10 different architectures.

The build pipeline takes approximately one day to complete.

You need to reduce the time it takes to execute the build pipeline

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point

A.
Move to a blue/green deployment pattern.
A.
Move to a blue/green deployment pattern.
Answers
B.
Create an agent pool.
B.
Create an agent pool.
Answers
C.
Create a deployment group.
C.
Create a deployment group.
Answers
D.
Reduce the size of the repository.
D.
Reduce the size of the repository.
Answers
E.
Increase the number of parallel jobs.
E.
Increase the number of parallel jobs.
Answers
Suggested answer: B, E

I need more hosted build resources. What can I do?

A.
The Azure Pipelines pool provides all Azure DevOps organizations
A.
The Azure Pipelines pool provides all Azure DevOps organizations
Answers
B.
Host your own agents on infrastructure that you manage.
B.
Host your own agents on infrastructure that you manage.
Answers
C.
Buy additional parallel jobs.
C.
Buy additional parallel jobs.
Answers
D.
D.
Answers
Suggested answer: A

Explanation:

with cloud-hosted build agents and free build minutes each month. If you need more Microsoft- hosted build resources, or need to run more jobs in parallel, then you can either:

Reference:

https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/pools-queues

Your company is concerned that when developers introduce open source libraries, it creates licensing compliance issues. You need to add an automated process to the build pipeline to detect when common open source libraries are added to the code base. What should you use?

A.
OWASP ZAP
A.
OWASP ZAP
Answers
B.
Jenkins
B.
Jenkins
Answers
C.
Code Style
C.
Code Style
Answers
D.
WhiteSource Bolt
D.
WhiteSource Bolt
Answers
Suggested answer: D

Explanation:

WhiteSource provides WhiteSource Bolt, a lightweight open source security and management solution developed specifically for integration with Azure DevOps and Azure DevOps Server.

Note: WhiteSource is the leader in continuous open source software security and compliance management. WhiteSource integrates into your build process, irrespective of your programming languages, build tools, or development environments. It works automatically, continuously, and silently in the background, checking the security, licensing, and quality of your open source components against WhiteSource constantly-updated de?nitive database of open source repositories.

Note:

There are several versions of this question in the exam. The question has two possible correct answers:

1. Black Duck

2. WhiteSource Bolt

Other incorrect answer options you may see on the exam include the following:

1. Microsoft Visual SourceSafe

2. PDM

3. SourceGear

Reference:

https://www.azuredevopslabs.com/labs/vstsextend/whitesource/

You plan to use a NuGet package in a project in Azure DevOps. The NuGet package is in a feed that requires authentication. You need to ensure that the project can restore the NuGet package automatically.

What should the project use to automate the authentication?

A.
an Azure Automation account
A.
an Azure Automation account
Answers
B.
an Azure Artifacts Credential Provider
B.
an Azure Artifacts Credential Provider
Answers
C.
an Azure Active Directory (Azure AD) account that has multi-factor authentication (MFA) enabled
C.
an Azure Active Directory (Azure AD) account that has multi-factor authentication (MFA) enabled
Answers
D.
an Azure Active Directory (Azure AD) service principal
D.
an Azure Active Directory (Azure AD) service principal
Answers
Suggested answer: B

Explanation:

The Azure Artifacts Credential Provider automates the acquisition of credentials needed to restore NuGet packages as part of your .NET development workflow. It integrates with MSBuild, dotnet, and NuGet(.exe) and works on Windows, Mac, and Linux. Any time you want to use packages from an Azure Artifacts feed, the Credential Provider will automatically acquire and securely store a token on behalf of the NuGet client you're using.

Reference:

https://github.com/Microsoft/artifacts-credprovider

Total 482 questions
Go to page: of 49