logo
Exam overview and study plan

AZ-204 Practice Questions

Azure Developer Associate

Read questions, check verified answers and discuss the reasoning. Use reading options to shape your revision, or switch to the simulator for timed practice.

View 140 free questions

140 questions in this view

Page 1 of 24

Question 1

Background

Munson's Pickles and Preserves Farm is an agricultural cooperative corporation based in Washington, US, with farms located across the United States. The company supports agricultural production resources by distributing seeds, fertilizers, chemicals, fuel, and farm machinery to the farms.

Current Environment

The company is migrating all applications from an on-premises datacenter to Microsoft Azure. Applications support distributors, farmers, and internal company staff.

Corporate website

  • The company hosts a public website located at http://www.munsonspicklesandpreservesfarm.com. The site supports farmers and distributors who request agricultural production resources.

Farms

  • The company created a new customer tenant in the Microsoft Entra admin center to support authentication and authorization for applications.

Distributors

  • Distributors integrate their applications with data that is accessible by using APIs hosted at http://www.munsonspicklesandpreservesfarm.com/api to receive and update resource data.

Requirements

The application components must meet the following requirements:

Corporate website

  • The site must be migrated to Azure App Service.
  • Costs must be minimized when hosting in Azure.
  • Applications must automatically scale independent of the compute resources.
  • All code changes must be validated by internal staff before release to production.
  • File transfer speeds must improve, and webpage-load performance must increase.
  • All site settings must be centrally stored, secured without using secrets, and encrypted at rest and in transit.
  • A queue-based load leveling pattern must be implemented by using Azure Service Bus queues to support high volumes of website agricultural production resource requests.


Farms

  • Farmers must authenticate to applications by using Microsoft Entra ID.


Distributors

  • The company must track a custom telemetry value with each API call and monitor performance of all APIs.
  • API telemetry values must be charted to evaluate variations and trends for resource data.


Internal staff

  • App and API updates must be validated before release to production.
  • Staff must be able to select a link to direct them back to the production app when validating an app or API update.
  • Staff profile photos and email must be displayed on the website once they authenticate to applications by using their Microsoft Entra ID.


Security

  • All web communications must be secured by using TLS/HTTPS.
  • Web content must be restricted by country/region to support corporate compliance standards.
  • The principle of least privilege must be applied when providing any user rights or process access rights.
  • Managed identities for Azure resources must be used to authenticate services that support Microsoft Entra ID authentication.

Issues

Corporate website

  • Farmers report HTTP 503 errors at the same time as internal staff report that CPU and memory usage are high.
  • Distributors report HTTP 502 errors at the same time as internal staff report that average response times and networking traffic are high.
  • Internal staff report webpage load sizes are large and take a long time to load.
  • Developers receive authentication errors to Service Bus when they debug locally.

Distributors

  • Many API telemetry values are sent in a short period of time. Telemetry traffic, data costs, and storage costs must be reduced while preserving a statistically correct analysis of the data points sent by the APIs.
You need to display the profile photo and email for signed-in internal staff on the website.

Which Microsoft Graph configuration should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.
Configuration settingConfiguration value
Endpoint
Permission

Question 2

Background

Munson's Pickles and Preserves Farm is an agricultural cooperative corporation based in Washington, US, with farms located across the United States. The company supports agricultural production resources by distributing seeds, fertilizers, chemicals, fuel, and farm machinery to the farms.

Current Environment

The company is migrating all applications from an on-premises datacenter to Microsoft Azure. Applications support distributors, farmers, and internal company staff.

Corporate website

  • The company hosts a public website located at http://www.munsonspicklesandpreservesfarm.com. The site supports farmers and distributors who request agricultural production resources.

Farms

  • The company created a new customer tenant in the Microsoft Entra admin center to support authentication and authorization for applications.

Distributors

  • Distributors integrate their applications with data that is accessible by using APIs hosted at http://www.munsonspicklesandpreservesfarm.com/api to receive and update resource data.

Requirements

The application components must meet the following requirements:

Corporate website

  • The site must be migrated to Azure App Service.
  • Costs must be minimized when hosting in Azure.
  • Applications must automatically scale independent of the compute resources.
  • All code changes must be validated by internal staff before release to production.
  • File transfer speeds must improve, and webpage-load performance must increase.
  • All site settings must be centrally stored, secured without using secrets, and encrypted at rest and in transit.
  • A queue-based load leveling pattern must be implemented by using Azure Service Bus queues to support high volumes of website agricultural production resource requests.


Farms

  • Farmers must authenticate to applications by using Microsoft Entra ID.


Distributors

  • The company must track a custom telemetry value with each API call and monitor performance of all APIs.
  • API telemetry values must be charted to evaluate variations and trends for resource data.


Internal staff

  • App and API updates must be validated before release to production.
  • Staff must be able to select a link to direct them back to the production app when validating an app or API update.
  • Staff profile photos and email must be displayed on the website once they authenticate to applications by using their Microsoft Entra ID.


Security

  • All web communications must be secured by using TLS/HTTPS.
  • Web content must be restricted by country/region to support corporate compliance standards.
  • The principle of least privilege must be applied when providing any user rights or process access rights.
  • Managed identities for Azure resources must be used to authenticate services that support Microsoft Entra ID authentication.

Issues

Corporate website

  • Farmers report HTTP 503 errors at the same time as internal staff report that CPU and memory usage are high.
  • Distributors report HTTP 502 errors at the same time as internal staff report that average response times and networking traffic are high.
  • Internal staff report webpage load sizes are large and take a long time to load.
  • Developers receive authentication errors to Service Bus when they debug locally.

Distributors

  • Many API telemetry values are sent in a short period of time. Telemetry traffic, data costs, and storage costs must be reduced while preserving a statistically correct analysis of the data points sent by the APIs.
You need to provide internal staff access to the production site after a validation.

How should you complete the code segment? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.
<a href="https://www.munsonspicklesandpreservesfarm.com/?=
">Go back to production app</a>

Question 3

Background

Munson's Pickles and Preserves Farm is an agricultural cooperative corporation based in Washington, US, with farms located across the United States. The company supports agricultural production resources by distributing seeds, fertilizers, chemicals, fuel, and farm machinery to the farms.

Current Environment

The company is migrating all applications from an on-premises datacenter to Microsoft Azure. Applications support distributors, farmers, and internal company staff.

Corporate website

  • The company hosts a public website located at http://www.munsonspicklesandpreservesfarm.com. The site supports farmers and distributors who request agricultural production resources.

Farms

  • The company created a new customer tenant in the Microsoft Entra admin center to support authentication and authorization for applications.

Distributors

  • Distributors integrate their applications with data that is accessible by using APIs hosted at http://www.munsonspicklesandpreservesfarm.com/api to receive and update resource data.

Requirements

The application components must meet the following requirements:

Corporate website

  • The site must be migrated to Azure App Service.
  • Costs must be minimized when hosting in Azure.
  • Applications must automatically scale independent of the compute resources.
  • All code changes must be validated by internal staff before release to production.
  • File transfer speeds must improve, and webpage-load performance must increase.
  • All site settings must be centrally stored, secured without using secrets, and encrypted at rest and in transit.
  • A queue-based load leveling pattern must be implemented by using Azure Service Bus queues to support high volumes of website agricultural production resource requests.


Farms

  • Farmers must authenticate to applications by using Microsoft Entra ID.


Distributors

  • The company must track a custom telemetry value with each API call and monitor performance of all APIs.
  • API telemetry values must be charted to evaluate variations and trends for resource data.


Internal staff

  • App and API updates must be validated before release to production.
  • Staff must be able to select a link to direct them back to the production app when validating an app or API update.
  • Staff profile photos and email must be displayed on the website once they authenticate to applications by using their Microsoft Entra ID.


Security

  • All web communications must be secured by using TLS/HTTPS.
  • Web content must be restricted by country/region to support corporate compliance standards.
  • The principle of least privilege must be applied when providing any user rights or process access rights.
  • Managed identities for Azure resources must be used to authenticate services that support Microsoft Entra ID authentication.

Issues

Corporate website

  • Farmers report HTTP 503 errors at the same time as internal staff report that CPU and memory usage are high.
  • Distributors report HTTP 502 errors at the same time as internal staff report that average response times and networking traffic are high.
  • Internal staff report webpage load sizes are large and take a long time to load.
  • Developers receive authentication errors to Service Bus when they debug locally.

Distributors

  • Many API telemetry values are sent in a short period of time. Telemetry traffic, data costs, and storage costs must be reduced while preserving a statistically correct analysis of the data points sent by the APIs.
You need to implement farmer authentication.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 4

Background

Munson's Pickles and Preserves Farm is an agricultural cooperative corporation based in Washington, US, with farms located across the United States. The company supports agricultural production resources by distributing seeds, fertilizers, chemicals, fuel, and farm machinery to the farms.

Current Environment

The company is migrating all applications from an on-premises datacenter to Microsoft Azure. Applications support distributors, farmers, and internal company staff.

Corporate website

  • The company hosts a public website located at http://www.munsonspicklesandpreservesfarm.com. The site supports farmers and distributors who request agricultural production resources.

Farms

  • The company created a new customer tenant in the Microsoft Entra admin center to support authentication and authorization for applications.

Distributors

  • Distributors integrate their applications with data that is accessible by using APIs hosted at http://www.munsonspicklesandpreservesfarm.com/api to receive and update resource data.

Requirements

The application components must meet the following requirements:

Corporate website

  • The site must be migrated to Azure App Service.
  • Costs must be minimized when hosting in Azure.
  • Applications must automatically scale independent of the compute resources.
  • All code changes must be validated by internal staff before release to production.
  • File transfer speeds must improve, and webpage-load performance must increase.
  • All site settings must be centrally stored, secured without using secrets, and encrypted at rest and in transit.
  • A queue-based load leveling pattern must be implemented by using Azure Service Bus queues to support high volumes of website agricultural production resource requests.


Farms

  • Farmers must authenticate to applications by using Microsoft Entra ID.


Distributors

  • The company must track a custom telemetry value with each API call and monitor performance of all APIs.
  • API telemetry values must be charted to evaluate variations and trends for resource data.


Internal staff

  • App and API updates must be validated before release to production.
  • Staff must be able to select a link to direct them back to the production app when validating an app or API update.
  • Staff profile photos and email must be displayed on the website once they authenticate to applications by using their Microsoft Entra ID.


Security

  • All web communications must be secured by using TLS/HTTPS.
  • Web content must be restricted by country/region to support corporate compliance standards.
  • The principle of least privilege must be applied when providing any user rights or process access rights.
  • Managed identities for Azure resources must be used to authenticate services that support Microsoft Entra ID authentication.

Issues

Corporate website

  • Farmers report HTTP 503 errors at the same time as internal staff report that CPU and memory usage are high.
  • Distributors report HTTP 502 errors at the same time as internal staff report that average response times and networking traffic are high.
  • Internal staff report webpage load sizes are large and take a long time to load.
  • Developers receive authentication errors to Service Bus when they debug locally.

Distributors

  • Many API telemetry values are sent in a short period of time. Telemetry traffic, data costs, and storage costs must be reduced while preserving a statistically correct analysis of the data points sent by the APIs.
You need to implement an aggregate of telemetry values for distributor API calls.

Which Application Insights API method should you use?

Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 5

Background

Munson's Pickles and Preserves Farm is an agricultural cooperative corporation based in Washington, US, with farms located across the United States. The company supports agricultural production resources by distributing seeds, fertilizers, chemicals, fuel, and farm machinery to the farms.

Current Environment

The company is migrating all applications from an on-premises datacenter to Microsoft Azure. Applications support distributors, farmers, and internal company staff.

Corporate website

  • The company hosts a public website located at http://www.munsonspicklesandpreservesfarm.com. The site supports farmers and distributors who request agricultural production resources.

Farms

  • The company created a new customer tenant in the Microsoft Entra admin center to support authentication and authorization for applications.

Distributors

  • Distributors integrate their applications with data that is accessible by using APIs hosted at http://www.munsonspicklesandpreservesfarm.com/api to receive and update resource data.

Requirements

The application components must meet the following requirements:

Corporate website

  • The site must be migrated to Azure App Service.
  • Costs must be minimized when hosting in Azure.
  • Applications must automatically scale independent of the compute resources.
  • All code changes must be validated by internal staff before release to production.
  • File transfer speeds must improve, and webpage-load performance must increase.
  • All site settings must be centrally stored, secured without using secrets, and encrypted at rest and in transit.
  • A queue-based load leveling pattern must be implemented by using Azure Service Bus queues to support high volumes of website agricultural production resource requests.


Farms

  • Farmers must authenticate to applications by using Microsoft Entra ID.


Distributors

  • The company must track a custom telemetry value with each API call and monitor performance of all APIs.
  • API telemetry values must be charted to evaluate variations and trends for resource data.


Internal staff

  • App and API updates must be validated before release to production.
  • Staff must be able to select a link to direct them back to the production app when validating an app or API update.
  • Staff profile photos and email must be displayed on the website once they authenticate to applications by using their Microsoft Entra ID.


Security

  • All web communications must be secured by using TLS/HTTPS.
  • Web content must be restricted by country/region to support corporate compliance standards.
  • The principle of least privilege must be applied when providing any user rights or process access rights.
  • Managed identities for Azure resources must be used to authenticate services that support Microsoft Entra ID authentication.

Issues

Corporate website

  • Farmers report HTTP 503 errors at the same time as internal staff report that CPU and memory usage are high.
  • Distributors report HTTP 502 errors at the same time as internal staff report that average response times and networking traffic are high.
  • Internal staff report webpage load sizes are large and take a long time to load.
  • Developers receive authentication errors to Service Bus when they debug locally.

Distributors

  • Many API telemetry values are sent in a short period of time. Telemetry traffic, data costs, and storage costs must be reduced while preserving a statistically correct analysis of the data points sent by the APIs.
You need to configure App Service to support the corporate website migration.

Which configuration should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.
Configuration settingConfiguration value
App Service plan
Code change validation feature

Question 6

Background

Munson's Pickles and Preserves Farm is an agricultural cooperative corporation based in Washington, US, with farms located across the United States. The company supports agricultural production resources by distributing seeds, fertilizers, chemicals, fuel, and farm machinery to the farms.

Current Environment

The company is migrating all applications from an on-premises datacenter to Microsoft Azure. Applications support distributors, farmers, and internal company staff.

Corporate website

  • The company hosts a public website located at http://www.munsonspicklesandpreservesfarm.com. The site supports farmers and distributors who request agricultural production resources.

Farms

  • The company created a new customer tenant in the Microsoft Entra admin center to support authentication and authorization for applications.

Distributors

  • Distributors integrate their applications with data that is accessible by using APIs hosted at http://www.munsonspicklesandpreservesfarm.com/api to receive and update resource data.

Requirements

The application components must meet the following requirements:

Corporate website

  • The site must be migrated to Azure App Service.
  • Costs must be minimized when hosting in Azure.
  • Applications must automatically scale independent of the compute resources.
  • All code changes must be validated by internal staff before release to production.
  • File transfer speeds must improve, and webpage-load performance must increase.
  • All site settings must be centrally stored, secured without using secrets, and encrypted at rest and in transit.
  • A queue-based load leveling pattern must be implemented by using Azure Service Bus queues to support high volumes of website agricultural production resource requests.


Farms

  • Farmers must authenticate to applications by using Microsoft Entra ID.


Distributors

  • The company must track a custom telemetry value with each API call and monitor performance of all APIs.
  • API telemetry values must be charted to evaluate variations and trends for resource data.


Internal staff

  • App and API updates must be validated before release to production.
  • Staff must be able to select a link to direct them back to the production app when validating an app or API update.
  • Staff profile photos and email must be displayed on the website once they authenticate to applications by using their Microsoft Entra ID.


Security

  • All web communications must be secured by using TLS/HTTPS.
  • Web content must be restricted by country/region to support corporate compliance standards.
  • The principle of least privilege must be applied when providing any user rights or process access rights.
  • Managed identities for Azure resources must be used to authenticate services that support Microsoft Entra ID authentication.

Issues

Corporate website

  • Farmers report HTTP 503 errors at the same time as internal staff report that CPU and memory usage are high.
  • Distributors report HTTP 502 errors at the same time as internal staff report that average response times and networking traffic are high.
  • Internal staff report webpage load sizes are large and take a long time to load.
  • Developers receive authentication errors to Service Bus when they debug locally.

Distributors

  • Many API telemetry values are sent in a short period of time. Telemetry traffic, data costs, and storage costs must be reduced while preserving a statistically correct analysis of the data points sent by the APIs.
You need to correct the errors for farmers and distributors.

Which solution should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.
IssueSolution
Farmers’ errors
Distributors’ errors