ExamGecko
Home Home / Microsoft / AZ-400

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

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

You have a project in Azure DevOps named Contoso App that contains pipelines in Azure Pipelines for GitHub repositories.

You need to ensure that developers receive Microsoft Teams notifications when there are failures in a pipeline of Contoso App.

What should you run in Teams? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 231
Correct answer: Question 231

Explanation:

Box 1: subscribe

To start monitoring all pipelines in a project, use the following command inside a channel:

@azure pipelines subscribe [project url]

Box 2: https://dev.azure.com/contoso/contoso-app/

Subscribe to a pipeline or all pipelines in a project to receive notifications:

@azure pipelines subscribe [pipeline url/ project url]

HOTSPOT

You use Azure DevOps to manage the build and deployment of an app named App1.

You have release pipeline that deploys a virtual machine named VM1.

You plan to monitor the release pipeline by using Azure Monitor.

You need to create an alert to monitor the performance of VM1. The alert must be triggered when the average CPU usage exceeds 70 percent for five minutes. The alert must calculate the average once every minute.

How should you configure the alert rule? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 232
Correct answer: Question 232

Explanation:

Box 1: 5 minutes

The alert must calculate the average once every minute.

Note: We [Microsoft] recommend choosing an Aggregation granularity (Period) that is larger than the Frequency of evaluation, to reduce the likelihood of missing the first evaluation of added time series

Box 2: Static

Box 3: Greater than

Example, say you have an App Service plan for your website. You want to monitor CPU usage on multiple instances running your web site/app. You can do that using a metric alert rule as follows:

Target resource: myAppServicePlan

Metric: Percentage CPU

Condition Type: Static

Dimensions

Instance = InstanceName1, InstanceName2

Time Aggregation: Average

Period: Over the last 5 mins

Frequency: 1 min

Operator: GreaterThan

Threshold: 70

Like before, this rule monitors if the average CPU usage for the last 5 minutes exceeds 70%.

Aggregation granularity

Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-metric-overview

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. 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.
Microsoft Project
A.
Microsoft Project
Answers
B.
Bamboo
B.
Bamboo
Answers
C.
Microsoft Lync
C.
Microsoft Lync
Answers
D.
Microsoft Teams
D.
Microsoft Teams
Answers
Suggested answer: D

Explanation:

Within each team, users can create different channels to organize their communications by topic. Each channel can include a couple of users or scale to thousands of users. Microsoft Teams works on Android, iOS, Mac and Windows systems and devices. It also works in Chrome, Firefox, Internet Explorer 11 and Microsoft Edge web browsers. The guest-access feature in Microsoft Teams allows users to invite people outside their organizations to join internal channels for messaging, meetings and file sharing. This capability helps to facilitate business-to-business project management.

Teams integrates with Azure DevOps.

Note: Slack would also be a correct answer, but it is not an option here.

Reference:

https://searchunifiedcommunications.techtarget.com/definition/Microsoft-Teams

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
A.
Service Map in Azure Log Analytics
Answers
B.
availability tests in Azure Application Insights
B.
availability tests in Azure Application Insights
Answers
C.
Profiler in Azure Application Insights
C.
Profiler in Azure Application Insights
Answers
D.
Application Map in Azure Application Insights
D.
Application Map in Azure Application Insights
Answers
Suggested answer: D

Explanation:

Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-map

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. 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
A.
Skype for Business
Answers
B.
Bamboo
B.
Bamboo
Answers
C.
Octopus
C.
Octopus
Answers
D.
Slack
D.
Slack
Answers
Suggested answer: D

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

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
A.
Features and Tasks
Answers
B.
Initiatives and Epics
B.
Initiatives and Epics
Answers
C.
Epics and Features
C.
Epics and Features
Answers
D.
Stories and Tasks
D.
Stories and Tasks
Answers
Suggested answer: A

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

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

Your company creates a new Azure DevOps team.

You plan to use Azure DevOps for sprint planning.

You need to visualize the flow of your work by using an agile methodology.

Which Azure DevOps component should you use?

A.
Kanban boards
A.
Kanban boards
Answers
B.
sprint planning
B.
sprint planning
Answers
C.
delivery plans
C.
delivery plans
Answers
D.
portfolio backlogs
D.
portfolio backlogs
Answers
Suggested answer: A

Explanation:

Customizing Kanban boards

To maximize a team's ability to consistently deliver high quality software, Kanban emphasize two main practices. The first, visualize the flow of work, requires you to map your team's workflow stages and configure your Kanban board to match. Your Kanban board turns your backlog into an interactive signboard, providing a visual flow of work.

Reference: https://azuredevopslabs.com/labs/azuredevops/agile/

Your company implements an Agile development methodology.

You plan to implement retrospectives at the end of each sprint.

Which three questions should you include? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.
Who performed well?
A.
Who performed well?
Answers
B.
Who should have performed better?
B.
Who should have performed better?
Answers
C.
What could have gone better?
C.
What could have gone better?
Answers
D.
What went well?
D.
What went well?
Answers
E.
What should we try next?
E.
What should we try next?
Answers
Suggested answer: B, C, E

Explanation:

Sprint retrospective meetings

The sprint retrospective meeting typically occurs on the last day of the sprint, after the sprint review meeting. In this meeting, your team explores its execution of Scrum and what might need tweaking.

Based on discussions, your team might decide to change one or more processes to improve its own effectiveness, productivity, quality, and satisfaction. This meeting and the resulting improvements are critical to the agile principle of self-organization.

Look to address these areas during your team sprint retrospectives:

Issues that affected your team's general effectiveness, productivity, and quality.

Elements that impacted your team's overall satisfaction and project flow.

What happened to cause incomplete backlog items? What actions will the team take to prevent these issues in the future?

Reference:

https://docs.microsoft.com/en-us/azure/devops/boards/sprints/best-practices-scrum

Your team uses an agile development approach.

You need to recommend a branching strategy for the team’s Get repository. The strategy must meet the following requirements.

Provide the ability to work on multiple independent tasks in parallel.

Ensure that checked-in code remains in a releasable state always.

Ensure that new features can be abandoned at any time.

Encourage experimentation.

What should you recommend?

A.
a single long-running branch without forking
A.
a single long-running branch without forking
Answers
B.
multiple long-running branches
B.
multiple long-running branches
Answers
C.
a single fork per team member
C.
a single fork per team member
Answers
D.
a single long-running branch with multiple short-lived feature branches
D.
a single long-running branch with multiple short-lived feature branches
Answers
Suggested answer: D

Explanation:

Topic/feature branches, however, are useful in projects of any size. A topic branch is a short-lived branch that you create and use for a single particular feature or related work. This is something you've likely never done with a VCS before because it's generally too expensive to create and merge branches. But in Git it's common to create, work on, merge, and delete branches several times a day.

Reference: https://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows

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. You integrate a cloud-hosted Jenkins server and a new Azure DevOps deployment.

You need Azure DevOps to send a notification to Jenkins when a developer commits changes to a branch in Azure Repos. Solution: You create a service hook subscription that uses the build completed event.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: B

Explanation:

You can create a service hook for Azure DevOps Services and TFS with Jenkins.

However, the service subscription event should use the code pushed event, is triggered when the code is pushed to a Git repository.

Total 482 questions
Go to page: of 49