AZ-400 Microsoft Azure DevOps Solutions exams demo
You are developing a multi-tier application. The application will use Azure App Service web apps as the front
end and an Azure SQL database as the back end. The application will use Azure functions to write some data
to Azure Storage.
You need to send the Azure DevOps team an email message when the front end fails to return a status code of
200.
Which feature should you use?
A. Service Map in Azure Log Analytics
B. Availability tests in Azure Application Insights
C. Profiler in Azure Application Insights
D. Application Map in Azure Application Insights
Correct Answer: D
Section: (none)
Explanation
Explanation/Reference:
Explanation:
Application Map helps you spot performance bottlenecks or failure hotspots across all components of your
distributed application. Each node on the map represents an application component or its dependencies; and
has health KPI and alerts status.
Incorrect Answers:
A: Service Map automatically discovers application components on Windows and Linux systems and maps the
communication between services. You can use it to view your servers as you think of them--interconnected
systems that deliver critical services. Service Map shows connections between servers, processes, and ports
across any TCP-connected architecture with no configuration required, other than installation of an agent.
References: https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-map
QUESTION 7
During a code review, you discover many quality issues. Many modules contain unused variables and empty
catch blocks.
You need to recommend a solution to improve the quality of the code.
What should you recommend?
A. In a Grunt build task, select Enabled from Control Options.
B. In a Maven build task, select Run PMD.
C. In a Xcode build task, select Use xcpretty from Advanced.
D. In a Gradle build task, select Run Checkstyle.
Correct Answer: B
96CE4376707A97CE80D4B1916F054522
Section: (none)
Explanation
Explanation/Reference:
Explanation:
PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch
blocks, unnecessary object creation, and so forth.
There is an Apache Maven PMD Plugin which allows you to automatically run the PMD code analysis tool on
your project's source code and generate a site report with its results.
Incorrect Answers:
C: xcpretty is a fast and flexible formatter for xcodebuild.
Reference: https://pmd.github.io/
QUESTION 8
Your company has an on-premises Bitbucket Server that is used for Git-based source control. The server is
protected by a firewall that blocks inbound Internet traffic.
You plan to use Azure DevOps to manage the build and release processes.
Which two components are required to integrate Azure DevOps and Bitbucket? Each correct answer presents
part of the solution.
NOTE: Each correct selection is worth one point.
A. a deployment group
B. a Microsoft-hosted agent
C. service hooks
D. a self-hosted agent
E. an External Git service connection
Correct Answer: DE
Section: (none)
Explanation
Explanation/Reference:
Explanation:
E: GitLab CI/CD can be used with GitHub or any other Git server such as BitBucket. Instead of moving your
entire project to GitLab, you can connect your external repository to get the benefits of GitLab CI/CD.
Note: When a pipeline uses a remote, 3rd-party repository host such as Bitbucket Cloud, the repository is
configured with webhooks that notify Azure Pipelines Server or TFS when code has changed and a build
should be triggered. Since on-premises installations are normally protected behind a firewall, 3rd-party
webhooks are unable to reach the on-premises server. As a workaround, you can use the External Git
repository type which uses polling instead of webhooks to trigger a build when code has changed.
References: https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/pipeline-options-for-git
QUESTION 9
Your company plans to use an agile approach to software development.
You need to recommend an application to provide communication between members of the development team
who work in locations around the world. The applications must meet the following requirements:
Provide the ability to isolate the members of different project teams into separate communication channels
and to keep a history of the chats within those channels.
96CE4376707A97CE80D4B1916F054522
Be available on Windows 10, Mac OS, iOS, and Android operating systems.
Provide the ability to add external contractors and suppliers to projects.
Integrate directly with Azure DevOps.
What should you recommend?
A. Skype for Business
B. Bamboo
C. Octopus
D. Slack
Correct Answer: D
Section: (none)
Explanation
Explanation/Reference:
Explanation:
Slack is a popular team collaboration service that helps teams be more productive by keeping all
communications in one place and easily searchable from virtually anywhere. All your messages, your files, and
everything from Twitter, Dropbox, Google Docs, Azure DevOps, and more all together. Slack also has fully
native apps for iOS and Android to give you the full functionality of Slack wherever you go.
Integrated with Azure DevOps
This integration keeps your team informed of activity happening in its Azure DevOps projects. With this
integration, code check-ins, pull requests, work item updates, and build events show up directly in your team's
Slack channel.
Note: Microsoft Teams would also be a correct answer, but it is not an option here.
Reference:
https://marketplace.visualstudio.com/items?itemName=ms-vsts.vss-services-slack
.
.
.
.
QUESTION 11
Your development team is building a new web solution by using the Microsoft Visual Studio integrated
development environment (IDE).
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. Publish the package to a feed.
B. Create a new feed in Azure Artifacts.
C. Upload a package to a Git repository.
D. Add the package URL to the Environment settings in Visual Studio.
E. Add the package URL to the NuGet Package Manager settings in Visual Studio.
F. Create a Git repository in Azure Repos.
Correct Answer: ABE
Section: (none)
Explanation
Explanation/Reference:
Explanation:
B: By using your custom NuGet package feed within your Azure DevOps (previously VSTS) instance, you’ll be
able to distribute your packages within your organization with ease.
Start by creating a new feed.
A: We can publish, pack and push the built project to our NuGet feed.
E: Consume your private NuGet Feed
Go back to the Packages area in Azure DevOps, select your feed and hit “Connect to feed”. You’ll see some
instructions for your feed, but it’s fairly simple to set up.
Just copy your package source URL, go to Visual Studio, open the NuGet Package Manager, go to its settings
and add a new source. Choose a fancy name, insert the source URL. Done.
Search for your package in the NuGet Package Manager and it should appear there, ready for installation.
Make sure to select the appropriate feed (or just all feeds) from the top right select box.
References:
https://medium.com/medialesson/get-started-with-private-nuget-feeds-in-azure-devops-8c7b5f022a68
QUESTION 12
You have a GitHub repository.
96CE4376707A97CE80D4B1916F054522
You create a new repository in Azure DevOps.
You need to recommend a procedure to clone the repository from GitHub to Azure DevOps.
What should you recommend?
A. Create a pull request.
B. Create a webhook.
C. Create a service connection for GitHub.
D. From Import a Git repository, click Import.
E. Create a personal access token in Azure DevOps.
Correct Answer: D
Section: (none)
Explanation
Explanation/Reference:
Explanation:
You can import an existing Git repo from GitHub, Bitbucket, GitLab, or other location into a new or empty
existing repo in your project in Azure DevOps.
Import into a new repo
1. Select Repos, Files.
2. From the repo drop-down, select Import repository.
3. If the source repo is publicly available, just enter the clone URL of the source repository and a name for
your new Git repository.
References:
https://docs.microsoft.com/en-us/azure/devops/repos/git/import-git-repository?view=azure-devops
QUESTION 13
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
B. Jenkins
C. Code Style
D. WhiteSource Bolt
Correct Answer: D
Section: (none)
Explanation
Explanation/Reference:
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
96CE4376707A97CE80D4B1916F054522
security, licensing, and quality of your open source components against WhiteSource constantly-updated
definitive database of open source repositories.
Reference:
https://www.azuredevopslabs.com/labs/vstsextend/whitesource/
QUESTION 14
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
B. an Azure Artifacts Credential Provider
C. an Azure Active Directory (Azure AD) account that has multi-factor authentication (MFA) enabled
D. an Azure Active Directory (Azure AD) service principal
Correct Answer: B
Section: (none)
Explanation
Explanation/Reference:
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
QUESTION 15
Note: This question is part of a series of questions that present the same scenario. Each question in
the series contains a unique solution that might meet the stated goals. Some question sets might have
more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these
questions will not appear in the review screen.
The lead developer at your company reports that adding new application features takes longer than expected
due to a large accumulated technical debt.
You need to recommend changes to reduce the accumulated technical debt.
Solution: You recommend increasing the code duplication.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Section: (none)
Explanation
96CE4376707A97CE80D4B1916F054522
Explanation/Reference:
Explanation:
Instead reduce the code complexity.
Reference:
https://dzone.com/articles/fight-through-the-pain-how-to-deal-with-technical
QUESTION 16
Note: This question is part of a series of questions that present the same scenario. Each question in
the series contains a unique solution that might meet the stated goals. Some question sets might have
more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these
questions will not appear in the review screen.
The lead developer at your company reports that adding new application features takes longer than expected
due to a large accumulated technical debt.
You need to recommend changes to reduce the accumulated technical debt.
Solution: You recommend increasing the test coverage.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Section: (none)
Explanation
Explanation/Reference:
Explanation:
Instead reduce the code complexity.
Reference:
https://dzone.com/articles/fight-through-the-pain-how-to-deal-with-technical
QUESTION 17
Note: This question is part of a series of questions that present the same scenario. Each question in
the series contains a unique solution that might meet the stated goals. Some question sets might have
more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these
questions will not appear in the review screen.
The lead developer at your company reports that adding new application features takes longer than expected
due to a large accumulated technical debt.
You need to recommend changes to reduce the accumulated technical debt.
Solution: You recommend reducing the code complexity.
Does this meet the goal?
A. Yes
B. No
96CE4376707A97CE80D4B1916F054522
Correct Answer: A
Section: (none)
Explanation
Explanation/Reference:
Reference:
https://dzone.com/articles/fight-through-the-pain-how-to-deal-with-technical
QUESTION 18
Your company has 60 developers who are assigned to four teams. Each team has 15 members.
The company uses an agile development methodology.
You need to structure the work of the development teams so that each team owns their respective work while
working together to reach a common goal.
Which parts of the taxonomy should you enable the team to perform autonomously?
A. Features and Tasks
B. Initiatives and Epics
C. Epics and Features
D. Stories and Tasks
Correct Answer: A
Section: (none)
Explanation
Explanation/Reference:
Explanation:
A feature typically represents a shippable component of software.
Features, examples:
Add view options to the new work hub
Add mobile shopping cart
Support text alerts
Refresh the web portal with new look and feel
User Stories and Tasks are used to track work. Teams can choose how they track bugs, either as
requirements or as tasks
Incorrect Answers:
B, C: An epic represents a business initiative to be accomplished.
Epics, examples:
Increase customer engagement
Improve and simplify the user experience
Implement new architecture to improve performance
Engineer the application to support future growth
Support integration with external services
Support mobile apps
Reference:
https://docs.microsoft.com/en-us/azure/devops/boards/backlogs/define-features-epics
https://docs.microsoft.com/en-us/azure/devops/boards/work-items/about-work-items
Buy full version for more questions
Leave a comment