Free AZ-400 Exam Braindumps (page: 23)

Page 22 of 128

SIMULATION
You need to ensure that Microsoft Visual Studio 2017 can remotely attach to an Azure Function named fa-11566895.
To complete this task, sign in to the Microsoft Azure portal.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

Enable Remote Debugging
Before we start a debugging session to our Azure Function app we need to enable the functionality.

Navigate in the Azure portal to your function app fa-11566895 Go to the “Application settings”
Under “Debugging” set Remote Debugging to On and set Remote Visual Studio version to 2017.


Reference:

https://www.locktar.nl/uncategorized/azure-remote-debugging-manually-in-visual-studio-2017/



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?

  1. Azure Monitor
  2. Microsoft Power BI
  3. Azure Data Explorer
  4. Azure dashboards

Answer(s): D


Reference:

https://docs.microsoft.com/en-us/azure/azure-portal/azure-portal-dashboards



You are automating the testing process for your company. You need to automate UI testing of a web application.
Which framework should you use?

  1. JaCoco
  2. Selenium
  3. Xamarin.UITest
  4. Microsoft.CodeAnalysis

Answer(s): B

Explanation:

Performing user interface (UI) testing as part of the release pipeline is a great way of detecting unexpected changes, and need not be difficult. Selenium can be used to test your website during a continuous deployment release and test automation.


Reference:

https://docs.microsoft.com/en-us/azure/devops/pipelines/test/continuous-test-selenium?view=azure-devops



You are building an ASP.NET Core application.
You plan to create an application utilization baseline by capturing telemetry data.

You need to add code to the application to capture the telemetry data. The solution must minimize the costs of storing the telemetry data. Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point

  1. Add the <InitialSamplingPercentage>99</InitialSamplingPercentage> parameter to the ApplicationInsights.config file.
  2. From the code of the application, enable adaptive sampling.
  3. From the code of the application, add Azure Application Insights telemetry.
  4. Add the <MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond> parameter to the ApplicationInsights.config file.
  5. From the code of the application, disable adaptive sampling.

Answer(s): C,E

Explanation:

Sampling is a feature in Azure Application Insights. It is the recommended way to reduce telemetry traffic, data costs, and storage costs, while preserving a statistically correct analysis of application data.

The Application Insights SDK for ASP.NET Core supports both fixed-rate and adaptive sampling. Adaptive sampling is enabled by default.

D: For adaptive sampling: The volume is adjusted automatically to keep within a specified maximum rate of traffic, and is controlled via the setting MaxTelemetryItemsPerSecond. If the application produces a low amount of telemetry, such as when debugging or due to low usage, items won't be dropped by the sampling processor as long as volume is below MaxTelemetryItemsPerSecond.

Note: In ApplicationInsights.config, you can adjust several parameters in the AdaptiveSamplingTelemetryProcessor node. The figures shown are the default values:
<MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond>


Reference:

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






Post your Comments and Discuss Microsoft AZ-400 exam with other Community members:

AZ-400 Discussions & Posts