Microsoft Azure DevOps Solutions v1.0 (AZ-400)

Page:    1 / 28   
Total 420 questions

You build an iOS app.
You receive crash reports from Crashlytics.
You need to capture the following data:
✑ Crash-free users
✑ Custom events
✑ Breadcrumbs
What should you do?

  • A. Configure the xcworkspace file in the project
  • B. Add the GoogleAnalytics pod to the app.
  • C. Configure the Crashlytics pod in the app.
  • D. Import the Firebase module to UIApplicationDelegate.


Answer : D

Step 1: Add the Firebase Crashlytics SDK to your app.
Configure the Firebase module:
Import the Firebase module in your App struct or UIApplicationDelegate
Reference:
https://firebase.google.com/docs/crashlytics/get-started?platform=ios

You have multiple teams that work on multiple projects in Azure DevOps.

You need to plan and manage the consumers and producers for each project. The solution must provide an overview of all the projects.

What should you do?

  • A. Add a Predecessor or Successor link to the feature or user story for the items of each project.
  • B. Add a Parent or Child link to the feature or user story for the items of each project.
  • C. Install the Dependency Tracker extension and create dependencies for each project.
  • D. Create a custom query to show the consumers and producers and add a widget to a dashboard.


Answer : C

DRAG DROP
-

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

You need to create process documentation for App1. The solution must include a diagram that displays the relationships between the phases of App1 as shown in the following exhibit.



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



Answer :

HOTSPOT
-

You have an Azure web app named webapp1 that uses the .NET Core runtime stack. You have an Azure Application Insights resource named AppInsights1 that collects telemetry data generated by webapp1.

You plan to deploy webapp1 by using an Azure DevOps pipeline.

You need to modify the sampling rate of the telemetry data processed by AppInsights1 without having to redeploy webapp1 after each modification.

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

NOTE: Each correct selection is worth one point.



Answer :

Your company has multiple microservices-based apps that use the following tracing libraries:

• OpenTelemetry
• OpenCensus
• OpenTracing
• Honeycomb
• Jaeger

The company purchases an Azure subscription and implements Application Insights in Azure Monitor.

You plan to centralize distributed tracing for the apps.

You need to identify which libraries can integrate directly with Application Insights.

Which two libraries should you identify? Each correct answer presents a complete solution.

NOTE: Each correct solution is worth one point.

  • A. Honeycomb
  • B. OpenTracing
  • C. Jaeger
  • D. OpenTelemtry
  • E. OpenCensus


Answer : DE

You have an Azure web app named webapp1 that uses the .NET Core runtime stack. You have an Azure Application Insights resource named AppInsights1. Webapp1 sends telemetry data to AppInsights1.

You need to ensure that webapp1 sends the telemetry data at a fixed sampling rate.

What should you do?

  • A. From the code repository of webapp1, modify the ApplicationInsights.config file.
  • B. From the code repository of webapp1, modify the Startup.cs file.
  • C. From AppInsights1, modify the Usage and estimated costs settings.
  • D. From AppInsights1, configure the Continuous export settings.


Answer : B

DRAG DROP
-

You have an app named App1. You have a Log Analytics workspace named Workspace1 that contains two tables named Events and Logs. App1 manages events in multiple locations and writes logs to Workspace1.

You need to query Workspace1 for all log entries related to Asia that occurred during the last two days.

In which order should you arrange the query statements? To answer, move all statements from the list of statements to the answer area and arrange them in the correct order.



Answer :

You have an Azure subscription that contains multiple Azure services.
You need to send an SMS alert when scheduled maintenance is planned for the Azure services.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Enable Azure Security Center.
  • B. Create and configure an Azure Monitor alert rule.
  • C. Create an Azure Service Health alert.
  • D. Create and configure an action group.


Answer : CD

Creating planned maintenance alerts using Azure Service Health
1. Login into the Azure portal and select Service Health.
2. Select Health alerts followed by + Create service health alert from the top of the window on the right.
3. In the Edit Alert blade, give the alert a Name, Description, check the subscription is correct and choose a resource group.
4. The next step is to work through the Criteria section choosing which services, regions and types of event alerts should be monitored. For the purpose of this article all services and regions have been checked but only planned maintenance events.
5. Select or create an Action group. (An Action group is a group of actions to be taken, should an event be logged.)
6. Configure the actions to be taken. We are only configuring an email alert, so we first name the action, then chose Email/SMS/Push/Voice from the drop down list.
Note: Azure Service Health can be used to view problems with Azure services that may impact any of your cloud services. Service Health monitors three types of health event:
Service issues ג€" Azure services that are currently experiencing problems
Planned maintenance ג€" Any known future maintenance that may affect the availability of your services
Health advisories ג€" Changes in services, for example, deprecated features or exceeded quota usage.
Reference:
https://www.techkb.onl/azure-using-service-health-to-alert-against-planned-maintenance/

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 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 have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1.
You need to ensure that an email alert is generated whenever VMSS1 scales in or out.
Solution: From Azure Monitor, configure the autoscale settings.
Does this meet the goal?

  • A. Yes
  • B. No


Answer : B

Instead create an action group.
Note: An action group is a collection of notification preferences defined by the owner of an Azure subscription. Azure Monitor, Service Health and Azure Advisor alerts use action groups to notify users that an alert has been triggered.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups

You configure Azure Application Insights and the shared service plan tier for a web app.
You enable Smart Detection.
You confirm that standard metrics are visible in the logs, but when you test a failure, you do not receive a Smart Detection notification.
What prevents the Smart Detection notification from being sent?

  • A. You must enable the Snapshot Debugger for the web app.
  • B. Smart Detection uses the first 24 hours to establish the normal behavior of the web app.
  • C. The web app is configured to use the shared service plan tier.
  • D. You must restart the web app before Smart Detection is enabled.


Answer : B

After setting up Application Insights for your project, and if your app generates a certain minimum amount of data, Smart Detection of failure anomalies takes 24 hours to learn the normal behavior of your app, before it is switched on and can send alerts.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/proactive-failure-diagnostics

DRAG DROP -
You are planning projects for three customers. Each customer's preferred process for work items is shown in the following table.

The customers all plan to use Azure DevOps for work item management.
Which work item process should you use for each customer? To answer, drag the appropriate work item processes to the correct customers. Each work item process 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.
Select and Place:



Answer :

Box 1: Scrum -
Choose Scrum when your team practices Scrum. This process works great if you want to track product backlog items (PBIs) and bugs on the Kanban board, or break PBIs and bugs down into tasks on the taskboard.

Box 2: Agile -
Choose Agile when your team uses Agile planning methods, including Scrum, and tracks development and test activities separately. This process works great if you want to track user stories and (optionally) bugs on the Kanban board, or track bugs and tasks on the taskboard.

Box 3: CMMI -
Choose CMMI when your team follows more formal project methods that require a framework for process improvement and an auditable record of decisions. With this process, you can track requirements, change requests, risks, and reviews.
Incorrect Answers:
XP:
The work tracking objects contained within the default DevOps processes and DevOps process templates are Basic, Agile, CMMI, and Scrum
XP (Extreme Programming) and DevOps are different things. They don't contradict with each other, they can be used together, but they have different base concepts inside them.
Reference:
https://docs.microsoft.com/en-us/azure/devops/boards/work-items/guidance/choose-process?view=azure-devops

You configure an Azure Application Insights availability test.
You need to notify the customer services department at your company by email when availability is degraded.
You create an Azure logic app that will handle the email and follow up actions.
Which type of trigger should you use to invoke the logic app?

  • A. an HTTPWebhook trigger
  • B. an HTTP trigger
  • C. a Request trigger
  • D. an ApiConnection trigger


Answer : A

You can use webhooks to route an Azure alert notification to other systems for post-processing or custom actions. You can use a webhook on an alert to route it to services that send SMS messages, to log bugs, to notify a team via chat or messaging services, or for various other actions.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-webhooks

You have an Azure DevOps organization named Contoso and an Azure subscription.
You use Azure DevOps to build a containerized app named App1 and deploy App1 to an Azure container instance named ACI1.
You need to restart ACI1 when App1 stops responding.
What should you do?

  • A. Add a liveness probe to the YAML configuration of App1.
  • B. Add a readiness probe to the YAML configuration of App1.
  • C. Use Connection Monitor in Azure Network Watcher.
  • D. Use IP flow verify in Azure Network Watcher.


Answer : B

For containerized applications that serve traffic, you might want to verify that your container is ready to handle incoming requests. Azure Container Instances supports readiness probes to include configurations so that your container can't be accessed under certain conditions. The readiness probe behaves like a
Kubernetes readiness probe. For example, a container app might need to load a large data set during startup, and you don't want it to receive requests during this time.
YAML is used to setup a liveness probe.
Reference:
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-readiness-probe

You have a multi-tier application that has an Azure Web Apps front end and an Azure SQL Database back end.
You need to recommend a solution to capture and store telemetry data. The solution must meet the following requirements:
✑ Support using ad-hoc queries to identify baselines.
✑ Trigger alerts when metrics in the baseline are exceeded.
✑ Store application and database metrics in a central location.
What should you include in the recommendation?

  • A. Azure Event Hubs
  • B. Azure SQL Database Intelligent Insights
  • C. Azure Application Insights
  • D. Azure Log Analytics


Answer : D

Azure Platform as a Service (PaaS) resources, like Azure SQL and Web Sites (Web Apps), can emit performance metrics data natively to Log Analytics.
The Premium plan will retain up to 12 months of data, giving you an excellent baseline ability.
There are two options available in the Azure portal for analyzing data stored in Log analytics and for creating queries for ad hoc analysis.
Incorrect Answers:
B: Intelligent Insights analyzes database performance by comparing the database workload from the last hour with the past seven-day baseline workload.
However, we need handle application metrics as well.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/collect-azurepass-posh

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?

  • A. the Smart Detection feature in Azure Application Insights
  • B. the Failures feature in Azure Application Insights
  • C. an Azure Service Health alert
  • D. an Azure Monitor alert that uses an Azure Log Analytics query


Answer : A

After setting up Application Insights for your project, and if your app generates a certain minimum amount of data, Smart Detection of failure anomalies takes 24 hours to learn the normal behavior of your app, before it is switched on and can send alerts.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/proactive-failure-diagnostics

Page:    1 / 28   
Total 420 questions