πŸ”

AZ-400 β€” questions

Page 3 of 18 Β· 358 total questions.

Topic 2 Β· Question 56

You create an alert rule in Azure Monitor as shown in the following exhibit. Which action will trigger an alert?

  • Aa failed attempt to delete the ASP-9bb7 resource (correct answer)
  • Ba change to a role assignment for the ASP-9bb7 resource
  • Ca successful attempt to delete the ASP-9bb7 resource
  • Da failed attempt to scale up the ASP-9bb7 resource
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: a failed attempt to delete the ASP-9bb7 resource.

Topic 2 Β· Question 57

You have a web app hosted on Azure App Service. The web app stores data in an Azure SQL database. You need to generate an alert when 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 (correct answer)
  • BStream to an event hub
  • CArchive to a storage account
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Send to Log Analytics

Explanation

Log Analytics queries collected logs and metrics to investigate and alert on resource behavior.

Topic 2 Β· Question 59

You have an Azure virtual machine that is monitored by using Azure Monitor. The virtual machine has the Azure Log Analytics agent installed. You plan to deploy the Service Map solution from the Azure Marketplace. What should you deploy to the virtual machine to support the Service Map solution?

  • Athe Dependency agent (correct answer)
  • Bthe Telegraf agent
  • Cthe Windows Azure diagnostics extension (WAD)
  • Dthe Azure monitor agent
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: the Dependency agent.

Topic 2 Β· Question 61

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?

  • AConfigure the xcworkspace file in the project
  • BAdd the GoogleAnalytics pod to the app.
  • CConfigure the Crashlytics pod in the app.
  • DImport the Firebase module to UIApplicationDelegate. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Import the Firebase module to UIApplicationDelegate.

Topic 2 Β· Question 62

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?

  • AAdd a Predecessor or Successor link to the feature or user story for the items of each project.
  • BAdd a Parent or Child link to the feature or user story for the items of each project.
  • CInstall the Dependency Tracker extension and create dependencies for each project. (correct answer)
  • DCreate a custom query to show the consumers and producers and add a widget to a dashboard.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Install the Dependency Tracker extension and create dependencies for each project.

Topic 2 Β· Question 65 Β· Select all that apply

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.

  • AHoneycomb
  • BOpenTracing
  • CJaeger
  • DOpenTelemtry (correct answer)
  • EOpenCensus (correct answer)
Reveal answer & explanation
Correct answer: D, E

The correct answer is D, E. Option D: OpenTelemtry Option E: OpenCensus.

Topic 2 Β· Question 66

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?

  • AFrom the code repository of webapp1, modify the ApplicationInsights.config file.
  • BFrom the code repository of webapp1, modify the Startup.cs file. (correct answer)
  • CFrom AppInsights1, modify the Usage and estimated costs settings.
  • DFrom AppInsights1, configure the Continuous export settings.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: From the code repository of webapp1, modify the Startup.cs file.

Topic 2 Β· Question 69

You use Azure Pipelines to build and deploy an app named App1. You plan to monitor App1 by using Application Insights. You create an Application Insights instance named AI1. You need to configure App1 to use AI1. Which file should you modify?

  • Aappsettings.json
  • BlaunchSettings.json
  • Cstartup.cs (correct answer)
  • Dproject.json
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: startup.cs.

Topic 2 Β· Question 73 Β· Select all that apply

You have an Azure subscription that contains a Log Analytics workspace named WS1 and a virtual machine named VM1. You need to install the Microsoft Enterprise Cloud Monitoring extension on VM1. Which two values are required to configure the extension? Each correct answer presents part of the solution. NOTE: Each correct answer is worth one point.

  • Athe secret key of WS1 (correct answer)
  • Bthe ID of the subscription
  • Cthe system-assigned managed identity of VM1
  • Dthe ID of WS1 (correct answer)
  • Ethe resource ID of VM1
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: the secret key of WS1 Option D: the ID of WS1.

Topic 2 Β· Question 74

You have an app named App1 that uses Application Insights to monitor application performance. You need to analyze how often a page in App1 is accessed. Which pane in Application Insights should you use?

  • AEvents (correct answer)
  • BSessions
  • CImpact
  • DUsers
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Events.

Topic 2 Β· Question 77

You have an Azure App Service app named App1. You need to identify when App1 was offline. The solution must minimize administrative effort. Which troubleshooting category in App Service diagnostics should you use?

  • ANavigator
  • BConfiguration and Management
  • CDiagnostic Tools
  • DAvailability and Performance (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Availability and Performance.

Topic 2 Β· Question 78

You have an Azure subscription that contains an Azure Kubernetes Service (AKS) instance named AKS1. You collect and analyze metrics for AKS1 by using the Azure Monitor managed service for Prometheus. You need to analyze the performance of AKS1. Which query language should you use?

  • APL/SQL
  • BPromQL (correct answer)
  • CSparkQL
  • DKQL
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: PromQL.

Topic 3 Β· Question 84 Β· Select all that apply

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.

  • AEnable Azure Security Center.
  • BCreate and configure an Azure Monitor alert rule.
  • CCreate an Azure Service Health alert. (correct answer)
  • DCreate and configure an action group. (correct answer)
Reveal answer & explanation
Correct answer: C, D

The correct answer is C, D. Option C: Create an Azure Service Health alert. Option D: Create and configure an action group.

Topic 3 Β· Question 85

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?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 3 Β· Question 86

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?

  • AYou must enable the Snapshot Debugger for the web app.
  • BSmart Detection uses the first 24 hours to establish the normal behavior of the web app. (correct answer)
  • CThe web app is configured to use the shared service plan tier.
  • DYou must restart the web app before Smart Detection is enabled.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Smart Detection uses the first 24 hours to establish the normal behavior of the web app.

Topic 3 Β· Question 88

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?

  • Aan HTTPWebhook trigger
  • Ban HTTP trigger
  • Ca Request trigger (correct answer)
  • Dan ApiConnection trigger
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: a Request trigger.

Topic 3 Β· Question 89

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?

  • AAdd a liveness probe to the YAML configuration of App1. (correct answer)
  • BAdd a readiness probe to the YAML configuration of App1.
  • CUse Connection Monitor in Azure Network Watcher.
  • DUse IP flow verify in Azure Network Watcher.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Add a liveness probe to the YAML configuration of App1.

Topic 3 Β· Question 90

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?

  • AAzure Event Hubs
  • BAzure SQL Database Intelligent Insights
  • CAzure Application Insights
  • DAzure Log Analytics (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Azure Log Analytics

Explanation

Log Analytics queries collected logs and metrics to investigate and alert on resource behavior.

Topic 3 Β· Question 91

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 (correct answer)
  • Bthe Failures feature in Azure Application Insights
  • Can Azure Service Health alert
  • Dan Azure Monitor alert that uses an Azure Log Analytics query
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: the Smart Detection feature in Azure Application Insights

Explanation

Application Insights provides application performance monitoring and diagnostics for apps.

Topic 3 Β· Question 93

You have an Azure subscription that contains resources in several resource groups. You need to design a monitoring strategy that will provide a consolidated view. The solution must support the following requirements: β€’ Support role-based access control (RBAC) by using Azure Active Directory (Azure AD) identifies. β€’ Include visuals from Azure Monitor that are generated by using the Kusto query language. β€’ Support documentation written in markdown. β€’ Use the latest data available for each visual. What should you use to create the consolidated view?

  • AAzure Monitor
  • BMicrosoft Power BI
  • CAzure Data Explorer
  • DAzure dashboards (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Azure dashboards.

Showing questions 41–60 of 358 Β· Page 3 of 18