Microsoft Azure Developer Associate AZ-204 Practice Question

You are building an ASP.NET Core worker service that runs inside an AKS cluster and pings several internal HTTP endpoints every minute. The endpoints are private and must not be tested from the public internet, but you want the results to appear in the Application Insights Availability blade and support alerting. Which implementation meets the requirement?

  • Publish a custom numeric value with TelemetryClient.TrackMetric representing success (1) or failure (0) for each probe.

  • Enable codeless Application Insights auto-instrumentation in the cluster and depend on Smart Detection to raise availability alerts.

  • Create an AvailabilityTelemetry object for each probe and send it with TelemetryClient.TrackAvailability.

  • Use TelemetryClient.TrackDependency when calling each endpoint and treat failures as availability issues.

Microsoft Azure Developer Associate AZ-204
Monitor and troubleshoot Azure solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot