ExamGecko
Home Home / Microsoft / AZ-400

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

Question list
Search
Search

List of questions

Search

Related questions











DRAG DROP

You are using the Dependency Tracker extension in a project in Azure DevOps.

You generate a risk graph for the project.

What should you use in the risk graph to identify the number of dependencies and the risk level of the project? To answer, drag the appropriate elements to the correct data points. Each element 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.


Question 311
Correct answer: Question 311

Explanation:

Box 1: Link width

The width of the lines indicates how many dependencies exist in that area, the thicker the link the more dependencies as indicated in the legend.

Box 2: Link color

Reference: https://docs.microsoft.com/en-us/azure/devops/boards/extensions/dependency-tracker?view=azure-devops#risk-graph

You use release pipelines in Azure Pipelines to deploy an app. Secrets required be the pipeline are stored as pipeline variables. Logging of commands is enabled for the Azure Pipelines agent. You need to prevent the values of the secrets from being logged.

What should you do?

A.
Store the secrets in the environment variables instead of the pipeline variables.
A.
Store the secrets in the environment variables instead of the pipeline variables.
Answers
B.
Pass the secrets on the command line instead of in the pipeline variables.
B.
Pass the secrets on the command line instead of in the pipeline variables.
Answers
C.
Apply a prefix of secret to the name of the variables.
C.
Apply a prefix of secret to the name of the variables.
Answers
D.
Echo the values of the secrets to the command line.
D.
Echo the values of the secrets to the command line.
Answers
Suggested answer: A

Explanation:

Don't set secret variables in your YAML file. Operating systems often log commands for the processes that they run, and you wouldn't want the log to include a secret that you passed in as an input. Use the script's environment or map the variable within the variables block to pass secrets to your pipeline.

Incorrect Answers:

B: Never pass secrets on the command line.

C: Adding a prefix does not make the variable a secret. The issecret property makes it secret but does not prevent logging of the secret. D: Never echo secrets as output.

Reference:

https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch https://docs.microsoft.com/en-us/azure/devops/pipelines/scripts/loggingcommands?view=azure-devops&tabs=bash

You are creating a YAML-based Azure pipeline to deploy an Azure Data factory instance that has the following requirements;

• If a Data Factory instance exists already, the instance must be overwritten.

• No other resources in a resource group named Fabrikam must be affected.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

A.
A.
Answers
Suggested answer: A

DRAG DROP

You have an Azure Kubernetes Service (AKSJ pod that hosts an app named App1.

You need to configure the AKS container to restart automatically if the container stops responding. The solution must check the status of App1 once every three seconds.

How should you complete the deployment? 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.


Question 314
Correct answer: Question 314

Explanation:

DRAG DROP

Your company has a project in Azure DevOps named Project1.

All the developers at the company have Windows 10 devices.

You need to create a get repository for Project1. The solution must meet the following requirements:

• Support large binary files.

• Store binary files outside of the repository.

• Use a standard get workflow to maintain the metadata of the binary files by using commits to the repository.


Question 315
Correct answer: Question 315

Explanation:

You have a GitHub repository that contains the source code for an app.

You need to identify all the changes made between versions 1.4.16 and 1.6.12 of the source code.

How should you complete the get command? To answer, select the appropriate options in the answer area. get _________ ____________ | helper-script > changes.txt

NOTE: Each correct selection is worth one point.

A.
get diff v1.4.16 v1.6.12 | helper-script > changes.txt
A.
get diff v1.4.16 v1.6.12 | helper-script > changes.txt
Answers
Suggested answer: A

Explanation:

This command will compare the changes made between versions 1.4.16 and 1.6.12 of the source code in your GitHub repository, pipe the output through the helper-script and save the result to a file called "changes.txt" Please note that, this command assumes that you have a helper-script that can handle get diff output as an input and processes it further. It is not a default get command.

You have an Azure virtual machine that is monitored by using Azure Monitor.

The virtual machine has the Azure Log Analytics agent installed.

You plan to deploy the Service Map solution from Azure Marketplace.

What should you deploy to the virtual machine to support the Service Map solution?

A.
the Telegraf agent
A.
the Telegraf agent
Answers
B.
the Azure Monitor agent
B.
the Azure Monitor agent
Answers
C.
the Dependency agent
C.
the Dependency agent
Answers
D.
the Windows Azure diagnostics extension (WAD)
D.
the Windows Azure diagnostics extension (WAD)
Answers
Suggested answer: C

DRAG DROP

You need to deploy a new project in Azure DevOps that has the following requirements:

• The lead developer must be able to create repositories, manage permissions, manage policies, and contribute to the repository. • Developers must be able to contribute to the repository and create branches, but NOT bypass policies when pushing builds. • Project managers must only be able to view the repository.

• The principle of least privilege must be used.

You create a new Azure DevOps project team for each role.

To which Azure DevOps groups should you add each team? To answer, drag the appropriate groups to the correct teams. Each group 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.


Question 318
Correct answer: Question 318

You use GitHub for source control and project-related discussions.

You receive a notification when an entry is made to any team discussion.

You need to ensure that you receive email notifications only for discussions in which you commented or in which you are mentioned. Which two Notifications settings should you clear? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A.
Participating
A.
Participating
Answers
B.
Automatically watch repositories
B.
Automatically watch repositories
Answers
C.
Automatically watch teams
C.
Automatically watch teams
Answers
D.
Watching
D.
Watching
Answers
Suggested answer: B, D

DRAG DROP

You have an Azure Repos repository named repo1.

You need to clone repo1. The solution must clone only a directory named src/web.

How should you complete the script? 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 spirt bar between panes or scroll to view content. NOTE: Each correct selection is worth one point


Question 320
Correct answer: Question 320

Explanation:

Total 482 questions
Go to page: of 49