Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Free Exam Questions

AZ-204 Exam Questions & Answers

Developing Solutions for Microsoft Azure Exam  •  Microsoft

490 Questions 120 min Updated Sep 2026 99% Pass Rate
Get Full Access

100% money-back guarantee

Sample AZ-204 Questions

Practice with real exam-style questions, each with the verified correct answer and explanation.

Q1 MultipleChoice

You are developing an ASP.NET Core Web API web service. The web service uses Azure Application Insights for all telemetry and dependency tracking. The web service reads and writes data to a database other than Microsoft SQL Server.

You need to ensure that dependency tracking works for calls to the third-party database.

Which two Dependency Telemetry properties should you store in the database? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Correct Answer: A, C
Explanation:

https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-operations-tracking

Example:

public async Task Enqueue(string payload)

{

// StartOperation is a helper method that initializes the telemetry item

// and allows correlation of this operation with its parent and children.

var operation = telemetryClient.StartOperation<DependencyTelemetry>('enqueue ' + queueName);

operation.Telemetry.Type = 'Azure Service Bus';

operation.Telemetry.Data = 'Enqueue ' + queueName;

var message = new BrokeredMessage(payload);

// Service Bus queue allows the property bag to pass along with the message.

// We will use them to pass our correlation identifiers (and other context)

// to the consumer.

message.Properties.Add('ParentId', operation.Telemetry.Id);

message.Properties.Add('RootId', operation.Telemetry.Context.Operation.Id);

https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-operations-tracking

Q2 MultipleChoice

You create and publish a new Azure App Service web app. User authentication and authorization must use Microsoft Entra ID. You need to configure authentication and authorization. What should you do first?

Correct Answer: D
Q3 MultipleChoice

You are developing an Azure Function that calls external APIs by providing an access token for the API. The access token is stored in a secret named token in an Azure Key Vault named mykeyvault.

You need to ensure the Azure Function can access to the token. Which value should you store in the Azure Function App configuration?

A.

B.

C.

D.

Correct Answer: D
Q4 MultipleChoice

You are developing an online game that includes a feature that allows players to interact with other players on the same team within a certain distance. The calculation to determine the players in range occurs when players move and are cached in an Azure Cache for Redis instance.

The system should prioritize players based on how recently they have moved and should not prioritize players who have logged out of the game. You need to select an eviction policy. Which eviction policy should you use?

Correct Answer: C
Q5 MultipleChoice

You develop Azure Web Apps for a commercial diving company. Regulations require that all divers fill out a health questionnaire every 15 days after each diving job starts.

You need to configure the Azure Web Apps so that the instance count scales up when divers are filling out the questionnaire and scales down after they are complete.

You need to configure autoscaling.

What are two possible autoscaling configurations to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Correct Answer: A, D

Get access to all 490 verified questions with detailed answers.

Unlock All AZ-204 Questions

Frequently Asked Questions

The AZ-204 exam is Microsoft's official certification for Azure developers that validates the ability to design, build, test, and maintain cloud applications and services on Microsoft Azure. It covers essential skills like implementing Azure compute solutions, developing for Azure storage, and authenticating and securing cloud solutions.

Microsoft recommends that candidates have at least 1-2 years of professional development experience and familiarity with Azure. While there are no formal prerequisites, it's advisable to have completed the AZ-900 (Azure Fundamentals) exam or have equivalent knowledge before attempting AZ-204.

The AZ-204 exam typically contains 40-60 questions and you have 150 minutes to complete it. The passing score is generally 700 out of 1000, though the exact score may vary as Microsoft uses adaptive testing.

The exam covers five major domains: implementing Azure compute solutions, developing Azure platform as a service compute solutions, developing for Azure storage, implementing Azure security, and monitoring, troubleshooting, and optimizing Azure solutions. Each domain includes specific technologies like App Service, Azure Functions, Azure Cosmos DB, and Azure Key Vault.

Microsoft recommends hands-on experience with Azure services, studying the official exam skills outline, taking practice exams, and completing Microsoft Learn modules. Many candidates benefit from Azure developer training courses, sandbox environments for practical experience, and study groups with peers preparing for the same certification.
Exam Details
  • Exam CodeAZ-204
  • VendorMicrosoft
  • Total Questions490
  • Duration 120 min
  • LanguageEnglish
  • Last UpdatedSep 2, 2026
4.9/5

Pass AZ-204 First Time

Get all 490 exam questions with verified answers and 90-day free updates.

Buy Now & Pass
  • PDF + Practice Test Bundle
  • 90-Day Free Updates
  • 100% Money-Back Guarantee
  • Instant Download
  • 24/7 Customer Support
99% Pass Rate Trusted by 50,000+ IT professionals