AZ-400: Designing and Implementing Microsoft DevOps SolutionsDemo
By Microsoft · Browse Mode
//
AZ-400: Designing and Implementing Microsoft DevOp… Practice Exam
QuestionQ1
Design and implement a source control strategy
Save question
You are developing an application whose source repository has multiple branches. You have made several changes to a branch that is used for experimentation. You need to update the main branch so that it captures the changes made on the experimentation branch, while also overriding the history of the Git repository.
Which Git option should you use?
ARebase
BFetch
CMerge
DPush
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ2
Design and implement build and release pipelines
1
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ3
Implement an instrumentation strategy
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ4
Design and implement processes and communications
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ5
Design and implement build and release pipelines
0
Community Discussion
No comments yet. Be the first to start the discussion!
It's free
100% of the questions are free for all users. No strings attached.
Design and implement processes and communicationsDesign and implement a source control strategyDesign and implement build and release pipelinesDevelop a security and compliance planImplement an instrumentation strategy
You use Azure Pipelines to build and test code projects.
You notice an increase in cycle times.
You need to identify whether agent pool exhaustion is causing the issue.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Choose two
AQuery the PipelineRun/PipelineRuns endpoint.
BQuery the TaskAgentPoolSizeSnapshots endpoint.
CView the Pipeline duration report.
DView the pool consumption report at the organization level.
You have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for autoscaling.
You use Azure DevOps to build a web app named App1 and deploy App1 to VMSS1. App1 is used heavily and has usage patterns that vary on a weekly basis.
You need to recommend a solution to detect an abnormal rise in the rate of failed requests to App1. The solution must minimize administrative effort.
What should you include in the recommendation?
Athe Smart Detection feature in Azure Application Insights
Bthe Failures feature in Azure Application Insights
Can Azure Service Health alert
Dan Azure Monitor alert that uses an Azure Log Analytics query
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#AB456, #AB457, #AB458Completed #AB456
B#456, #457, #458Completed #456
CDone #AB456, #AB457, #AB458
D#AB456, #AB457, #AB458Verifies #AB456
You have an app that is deployed to two environments named Production-A and Production-B by using Azure Pipelines.
You need to configure a release pipeline that will mark the app as complete and ready for release into the Production-B environment. The solution must meet the following requirements:
• Ensure that there are no active Azure Monitor alerts in the Production-A environment before the app is marked as complete.
• Minimize administrative effort.
What should you do?
ATo the Production-B environment stage, add a pre-deployment gate that will query Azure Monitor.
BTo the Production-A environment stage, add a post-deployment gate that will query Azure Monitor.
CTo the Production-A environment stage, add a post-deployment approval.
DTo the Production-A environment stage, add a pre-deployment gate that will query Azure Monitor.
QuestionQ6
Implement an instrumentation strategy
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ7
Design and implement build and release pipelines
QuestionQ8
Develop a security and compliance plan
QuestionQ9
Develop a security and compliance plan
QuestionQ10
Develop a security and compliance plan
QuestionQ11
Implement an instrumentation strategy
QuestionQ14
Design and implement a source control strategy
QuestionQ16
Design and implement build and release pipelines
QuestionQ17
Design and implement build and release pipelines
QuestionQ18
Implement an instrumentation strategy
QuestionQ19
Design and implement a source control strategy
QuestionQ20
Design and implement build and release pipelines
QuestionQ21
Design and implement build and release pipelines
QuestionQ22
Design and implement build and release pipelines
QuestionQ23
Design and implement build and release pipelines
QuestionQ24
Design and implement build and release pipelines
QuestionQ25
Design and implement build and release pipelines
QuestionQ26
Design and implement build and release pipelines
QuestionQ27
Design and implement build and release pipelines
QuestionQ28
Design and implement build and release pipelines
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Ad
Want a break from the ads?
Go ad-free and unlock Learn Mode, Exam Mode, AstroTutor AI and every premium tool — everything you need to walk in prepared, and confident.
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
API Error: Header '14' has invalid value: 'Bearer sk-ant-oat01-rnCAnI789h62Qwl9_8oZbyF49sZHaGJ49SAsOcZPwEN3EldEENoRiUUg0if
xzj_ia97kb6BkPWl625hfvJgL0A-ym3NOwAA'
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
API Error: Header '14' has invalid value: 'Bearer sk-ant-oat01-rnCAnI789h62Qwl9_8oZbyF49sZHaGJ49SAsOcZPwEN3EldEENoRiUUg0if
xzj_ia97kb6BkPWl625hfvJgL0A-ym3NOwAA'
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
API Error: Header '14' has invalid value: 'Bearer sk-ant-oat01-rnCAnI789h62Qwl9_8oZbyF49sZHaGJ49SAsOcZPwEN3EldEENoRiUUg0if
xzj_ia97kb6BkPWl625hfvJgL0A-ym3NOwAA'
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
API Error: Header '14' has invalid value: 'Bearer sk-ant-oat01-rnCAnI789h62Qwl9_8oZbyF49sZHaGJ49SAsOcZPwEN3EldEENoRiUUg0if
xzj_ia97kb6BkPWl625hfvJgL0A-ym3NOwAA'
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
You have a web application hosted on Azure App Service that stores its data in an Azure SQL database.
You need to generate an alert whenever there are 10,000 simultaneous connections to the database. The solution must minimize development effort.
Which option should you select in the Diagnostics settings of the database?
ASend to Log Analytics
BStream to an event hub
CArchive to a storage account
Your company has a release pipeline defined in an Azure DevOps project. You plan to deploy to an Azure Kubernetes Service (AKS) cluster by using the Helm package and deploy task.
You need to install a service in the AKS namespace to support the planned deployment.
Which service should you install?
AAzure Container Registry
BChart
CKubectl
DTiller
You have an Azure DevOps organization named Contoso that contains a project named Project1. You also have an Azure subscription named Sub1 that includes an Azure key vault named vault1.
You need to ensure that you can reference the values of the secrets stored in vault1 from all the pipelines in Project1. The solution must prevent the secret values from being stored in the pipelines.
What should you do?
ACreate a variable group in Project1.
BAdd a secure file to Project1.
CModify the security settings of the pipelines.
DConfigure the security policy of Contoso.
Your organization runs an application that includes several Azure App Service web apps and Azure Functions. You want to review recommendations concerning the security of these web apps and functions, and you plan to go to the Compute and Apps section to do so.
Which of the following should you access in order to use Compute and Apps?
AAzure Log Analytics
BAzure Event Hubs
CAzure Advisor
DAzure Security Center
You need to consider the underlined segment to establish whether it is accurate.
To deploy an application to a number of Azure virtual machines, you should create a universal group.
Select No adjustment required if the underlined segment is accurate. If the underlined segment is inaccurate, select the accurate option.
ANo adjustment required.
Bsecurity
Cdeployment
Dresource
You have an Azure DevOps project and need to configure a dashboard that includes the following metrics:
Bottlenecks in the software development process
A burndown chart for work in one iteration
The time needed to close a work item after it has started
Select the appropriate widget type for each metric. Each widget may be used once, more than once, or not at all.
Drag & Drop
Burndown chart
Cumulative flow diagram (CFD)
Cycle time
Lead time
Sprint burndown
Velocity
Bottlenecks in the software development process:
How long it takes to close a work item after the item was started:
A burndown chart for the work in a single iteration:
You have an Azure Repos repository named repo1.
You delete a branch named features/feature11.
You need to recover the deleted branch.
Which three commands should you run, in sequence?
Drag & Drop
git restore <SHA1>
git stash
git checkout <SHA1>
git branch features/feature11
git log
1
2
3
How should you configure the release retention policy for the investment planning applications suite?
Select
Global release:
Production stage:
You have a project in Azure DevOps named Project1 that contains two environments named environment1 and environment2.
When a new version of Project is released, the latest version is deployed to environment2, and the previous version is redeployed to environment1.
You need to distribute users across the environments. The solution must meet the following requirements:
• New releases must be available to only a subset of the users.
• You must gradually increase the number of users that can access environment2.
What should you use?
AVIP swaping
Bweb app deployment slots
CAzure Load Balancer
DAzure Traffic Manager
You manage an Azure web app that supports an e-commerce website.
You need to increase the logging level when the web app exceeds normal usage patterns. The solution must minimize administrative overhead.
Which two resources should you include in the solution? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Choose two
Aan Azure Automation runbook
Ban Azure Monitor alert that has a dynamic threshold
Can Azure Monitor alert that has a static threshold
Dthe Azure Monitor autoscale settings
Ean Azure Monitor alert that uses an action group that has an email action
You manage the Git repository for a large enterprise application. During development you use a file named Config.json. You need to prevent Config.json from being committed to source control whenever changes to the application are committed.
Which three actions should you perform in sequence? Move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Drag & Drop
Delete and recreate the repository.
Run the git reflog expire command.
Run the git add .gitignore command.
Add Config.json to the .gitignore file.
Run the git commit command.
You provision an Azure Kubernetes Service (AKS) cluster with RBAC enabled. You have a Helm chart for a client application.
You need to configure Helm and Tiller on the cluster and install the chart.
Which three commands should you recommend running in sequence? Move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.
Drag & Drop
helm install
kubectl create
helm completion
helm init
helm serve
You have a GitHub repository and plan to use it to create a container.
You need to configure GitHub Actions to deploy the container to GitHub Container Registry.
How should you complete the script?
Select
Step 1
Step 2
Step 3
Solution: You modify the "Time between re-evaluation of gates" option under Pre-deployment conditions.
Does this meet the goal?
AYes
BNo
Solution: You modify the 'Time between re-evaluation of gates' option under Post-deployment conditions.
Does this meet the goal?
AYes
BNo
Solution: You go to the Pre-deployment conditions section and change the Timeout value that applies to the pre-deployment approvals.
Does this solution meet the goal?
AYes
BNo
Solution: You go to the Post-deployment conditions section and change the Timeout setting for the post-deployment approvals.
Does this meet the goal?
AYes
BNo
You plan to create an image that will contain a .NET Core application.
You have a Dockerfile file that contains the following code. (Line numbers are included for reference only.)
You need to ensure that the image is as small as possible when the image is built.
Which line should you modify in the file?
A1
B3
C4
D7
You are implementing an Azure DevOps strategy for mobile devices using App Center. You plan to use distribution groups to control access to releases. You need to create the distribution groups shown in the following table.
Which type of distribution group should you use for each group? Each group type may be used once, more than once, or not at all.
Drag & Drop
Private
Public
Shared
Group1:
Group2:
Group3:
You are automating the testing process for your company. You need to automate UI testing of a web application. Which framework should you use?
Community Discussion