0% found this document useful (0 votes)
305 views13 pages

Microsoft Azure DevOps Engineer AZ400 Sample Exam Questions Ed1

Uploaded by

durga_9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
305 views13 pages

Microsoft Azure DevOps Engineer AZ400 Sample Exam Questions Ed1

Uploaded by

durga_9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Learn Cloud from Experts

[AZ-400] Microsoft Azure


DevOps Engineer

25 SAMPLE EXAM
QUESTIONS

[EDITION 01]

1. © Copyright 2021 | K21 Academy | All Rights Reserved


Learn Cloud from Experts

Q1. A development team has implemented Azure Pipelines. They have defined
an approval process based on a condition. There is a policy attached that the
approvals must be completed within 5 hours. But after implementation, the
deployments start failing after 2 hours. You need to ensure that the deployments
only fail if the approval time is longer than 5 hours. You decide to modify the
Timeout setting from the post-deployment approvals from the post-deployment
conditions section. Would this fulfil the requirement?

A. Yes
B. No

Answer: B

Explanation: Since we are looking at pre-deployment, we should not change the timeout of post-
deployment.

Q2. Your team is currently using Azure DevOps for applications being developed
in the company. You want a metric to assess the amount of wasted time due to
the technical debt in the application code. Which of the following could be
used for this purpose?

A. The number of code modules in the application


B. The number of unit test failures
C. The percentage of unit test failures
D. The percentage of overall time spent on rework

Answer: D

Explanation: If the application code has technical debt, this means that the team is spending time on
existing issues. The technical debt would make it difficult to deliver changes faster efficiently. The other
options are incorrect because none of them would provide the option of a metric showcasing the lost
time because of the technical debt.

Q3. Your team has defined a new project in Azure DevOps. This is for a web
application. You need to ensure that whenever code is checked in, a build is run
automatically. You decide to Enable continuous integration from the Triggers tab
of the build pipeline. Would this fulfil the requirement?

A. Yes
B. No

2. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002
Learn Cloud from Experts

Answer: A

Explanation: In the Designer, you can go to the Continuous Integration section and ensure that
triggers are enabled

Q4. A company wants to store NuGet packages that are created by the internal
development team. These packages need to be streamed to different
departments. Each department must have its own container for consuming the
NuGet packages. Which of the following would you use for storing the NuGet
packages?

A. Azure Repository
B. Azure Artifacts
C. Azure Logic Apps
D. Azure Functions

Answer: B

Explanation: You need to use Azure Artifacts for storing the NuGet packages. Check more about
Azure Artifacts

Q5. A company is currently planning to use the Azure DevOps service for
managing the CI/CD pipeline for various applications. The team wants to have
an effective communication tool that can be used across the project. The tool
should integrate with Azure DevOps and also have a separation of channels
for each team. You decide to implement Slack. Does this fulfil the requirement?

A. Yes
B. No

Answer: A

Explanation: Slack is the perfect communication tool for this requirement. Check more about
Slack integration with Azure DevOps

Q6. You currently have a web application hosted in an Azure Web App.
Application Insights are monitoring this. You have to ensure that alerts are sent
when there is a sudden rise in performance issues and failures. Which of the
following can you use for this purpose?

3. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002
Learn Cloud from Experts

A. Application Insights Profiler


B. Continuous export
C. Smart Detection
D. Custom events

Answer: C

Explanation: This can be achieved with the Smart Detection feature in Application Insights. The
Smart Detection feature is able to perform proactive analysis and detect any potential issues in your
web application.

Q7. Your company uses Azure DevOps for the management of build and release
pipelines for applications. A Git repository is used for application source control.
You have to implement a pull request strategy that reduces the history volume
in the master branch. You decide to implement a pull request strategy that uses
fast-forward merges. Would this fulfil the requirement?

A. Yes
B. No

Answer: A

Explanation: Yes, this can be used to reduce the history volume. Here the new
commit will not store the combined history.
Check more about Git Branching

Q8. You need to comply with the following requirement.


“The configuration of the virtual machines must remain consistent during the
lifecycle of the application”. You decide to implement Custom Script extensions.
Would this fulfil the requirement?

A. Yes
B. No

Answer: B

Explanation: Custom Script Extensions are used to install custom software on the virtual machine.
But this is not used to maintain the configuration of the virtual machine.

4. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002
Learn Cloud from Experts

Q9. Which of the following package feed permissions should be given to the
team leads?

A. Collaborator
B. Contributor
C. Owner
D. Reader

Answer: C

Explanation: You would need to give Owner privileges so that the team members could edit the
feed permissions.

Q10. Your company currently has an Azure DevOps project. You have to
implement Azure pipelines for the build and deployment of various web-based
applications. You have to ensure that monitoring data from Application Insights
is incorporated in the release pipeline. Which of the following would you
implement for this?

A. Release annotations
B. Snapshot Debugger
C. Funnels
D. Continuous Monitoring

Answer: D

Explanation: To enable monitoring data to be available in the DevOps pipeline, you


can use Continuous monitoring. Here monitoring can be incorporated into the
DevOps Pipeline from Application Insights.

Q11. Your company is planning to use Git for source control. It would be used
for the development of a complex application. You have to decide the right-
branching model when it comes to adding new functionality to the application.
Which of the following should be used as the Branch lifetime?

A. Long-lived
B. Short-lived
C. Master-based
D. Integration-based

Answer: B

5. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002
Learn Cloud from Experts

Explanation: When adding new features to an application, the best practice is to create short-lived
feature branches. This would reduce the complication when it comes to merging the branch onto
the main master branch.

Q12. You have an Azure DevOps project. Currently, you are using Azure Repos
Git for source code version control. You are planning on using a third-party
continuous integration tool to control the builds. Which of the following in
Azure DevOps would you use for authentication?

A. Certificate authentication
B. Personal Access tokens
C. Shared Access Signature
D. NTLM Authentication

Answer: B

Explanation: If you need to integrate with external tools, you need to use Personal Access Tokens.
Personal Access Tokens can be used to authorize external services into Azure DevOps.

Q13. Your company is planning to use Azure DevOps. They want to use Azure
DevOps for spring planning. Here they also want to visualize the flow of work
by using agile methodology. Which of the following should they use in
Azure DevOps?

A. Kanban boards
B. Sprint planning
C. Delivery plans
D. Portfolio backlogs

Answer: A

Explanation: This can be achieved with the use of Kanban boards. With Kanban boards, you can get
a visualization of the different work items in your project.

Q14. A team needs to automate the User Interface testing for a web application.
They also need to integrate the testing of the application in the build lifecycle
of the application. Which of the following could they use for this purpose?

6. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002
Learn Cloud from Experts

A. SonarQube
B. XUnit
C. Selenium
D. Microsoft.CodeAnalysis

Answer: C

Explanation: The right tool to use for User Interface testing is Selenium.

Q15. The management wants to see a chart to understand whether the teams
are able to complete the work allocated to a sprint. The chart should be
calibrated against the work items. Which of the following would you use as
the widget to use in Azure Boards for this requirement?

A. Velocity
B. Cycle Time
C. Lead Time
D. Burn Down

Answer: A

Explanation: This can be accomplished with the “Velocity” widget.

Q16. You need to allocate the right process template in Azure Boards. You
decide to use the “CMMI” process template. Would this fulfil the requirement?

A. Yes
B. No

Answer: A

Explanation: Yes, this process template has the work items for change and review requests.

Q17. You need to allocate the right process template in Azure Boards. You
decide to use the “Agile” process template. Would this fulfil the requirement?

A. Yes
B. No

7. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002
Learn Cloud from Experts

Answer: B.

Explanation: This template does not contain the definitions for change or review requests.

Q18. You need to allocate the right process template in Azure Boards. You
decide to use the “Scrum” process template. Would this fulfil the requirement?

A. Yes
B. No

Answer: B

Explanation: This template does not contain the definitions for change or review requests.

Q19. A Kubernetes cluster has just been setup. Which of the following command
could be used to get the status of the nodes in the cluster?

A. az aks get nodes


B. kubectl get nodes
C. az get nodes
D. docker get nodes

Answer: B.

Explanation: This can be done with the help of the “kubectl” command.

Q20. A company is currently looking at implementing a set of tools for developing


and deploying applications. The applications would run through a DevOps cycle
for all change requests. The company wants to ensure that the right tool is in
place for scanning the application for any open-source package security
vulnerabilities. They decide to use the Jenkins application for this requirement.
Would this fulfil the requirement?

A. Yes
B. No

Answer: B

8. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002
Learn Cloud from Experts

Explanation: This is a tool used for Continuous Integration. Check more about Jenkins

Q21. You need to define a secret in the release pipeline. The secret can only be
used in the “Release” stage of the pipeline. Where would you define the secret in
the pipeline?

A. In the variables section


B. In the secrets section
C. In the options section
D. In the pipeline section

Answer: A

Explanation: You would define this in the “Variables section”.

Q22. You have an ASP.Net core web application that is deployed to the Azure
Web App service. You have to run a URL ping test every 10 minutes to ensure
that the web app is accessible from different regions. You have to ensure that
an alert is generated if the web application is unavailable from certain Azure
regions. The solution needs to minimize development time. Which of the
following must you implement for this requirement?

A. Ensure to use Azure Application Insights availability test and alerts.


B. Ensure to use Azure Service Health for specific Azure regions.
C. Use Azure Monitor availability metrics and alerts.
D. Deploy an Azure Function to specific regions.

Answer: A

Explanation: You can use the Azure Application Insights availability tests for this. This allows you to
create URL tests that can be conducted from certain Azure regions.

Q23. You have a set of Azure Windows Virtual Machines. You have to collect
detailed data about the processes running on the guest operating system.
Which of the following agents can be used for this requirement? Choose two
answers from the options given below.

A. The Dependency agent


B. The Azure Log Analytics agent
C. The Azure Network Watcher agent
D. The Telegraf agent

9. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002
Learn Cloud from Experts

Answer: A and B

Explanation: You can accomplish this with the help of the Dependency and Azure Log Analytics agent.
The Azure Log Analytics agent can collect information about the virtual machine and then send the data
onto a Log Analytics workspace. The Dependency agent can be used to see the dependency of
components hosted on the virtual machines.

Q24. You have an Azure Application Insights availability test configured. You
have an Azure Logic App that will be used to send emails. You have to ensure
the availability tests invoke the Logic App if there are issues detected via the
Availability tests. Which of the following would you setup as the trigger type?

A. An ApiConnection
B. A Request trigger
C. A HTTP Webhook trigger
D. An HTTP trigger

Answer: C

Explanation: In Azure Monitor, when you want to automate the sending the events to external
destinations, you can create an alert that uses the Web hook trigger.

Q25. You have an Azure DevOps project and an Azure subscription. You have
a pipeline used to build a containerized application. You then deploy that
application to a container instance in Azure. You have to ensure to restart the
container instance if the application stops working. You decide to configure the
IP Flow verify tool in Azure Network Watcher. Would this fulfil the requirement?

A. Yes
B. No

Answer: B

Explanation: For this requirement, you have the liveness probe that helps to restart broken
applications. This probe ensures that traffic is only received by the probe when the container is ready
to take in requests.

10. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002
Learn Cloud from Experts

FREE CLASS

Register for our FREE Class To know about What is Azure DevOps
Engineer role, most important Azure services you will master Like - Why
Learn DevOps on Azure Cloud?, What is DevOps Who should Learn?,
CI/CD: Boards, Repos, Pipeline, Test Plans, Artifacts, Test Plans, Infra &
Config Management: AKS, WebApps, Chef, Puppet, Ansible, Terraform.
DevOps for Security (Rugged or DevSecOps) & Testers/QA, and what to
study Including Hands-On labs you must perform to clear [AZ-400]
Microsoft Azure DevOps Engineer, so that you can stay ahead in your
career and earn a lot more https://k21academy.com/az40002

11. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002
Learn Cloud from Experts

ABOUT AUTHOR

Atul Kumar Is An Oracle ACE, Author & Oracle


Certified Cloud Architect With 21+ Years Experience.

He is helping his customer to become an expert in


[AZ-400] Microsoft Azure DevOps Engineer

/oracleappsdba /k21academy /k21academy /k21academy /k21academy

12. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002
Learn Cloud from Experts

Learn Cloud from Experts

[email protected]

13. © Copyright 2021 | K21 Academy | All Rights Reserved FREE CLASS: https://k21academy.com/az40002

You might also like