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.
Create an AvailabilityTelemetry object for each probe and send it with TelemetryClient.TrackAvailability.
Enable codeless Application Insights auto-instrumentation in the cluster and depend on Smart Detection to raise availability alerts.
Use TelemetryClient.TrackDependency when calling each endpoint and treat failures as availability issues.
Only the TrackAvailability API records synthetic test results that surface in the Availability blade. Creating an AvailabilityTelemetry object (or calling TelemetryClient.TrackAvailability directly) lets you pass the test name, timestamp, duration, success flag, location, and optional diagnostic details. TrackDependency records outbound calls for performance analysis, TrackMetric stores numeric values, and relying on auto-instrumentation with Smart Detection does not generate synthetic availability data.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an AvailabilityTelemetry object in Application Insights?
Open an interactive chat with Bash
How does TrackAvailability differ from TrackDependency in Application Insights?
Open an interactive chat with Bash
What is the Application Insights Availability blade used for?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Monitor and troubleshoot Azure solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .