AZ-204 Exam Questions
457 real AZ-204 exam questions with expert-verified answers and explanations. Page 8 of 10.
- Question #485Implement Azure security
You are developing a Java application to be deployed in Azure. The application stores sensitive data in Azure Cosmos DB. You need to configure Always Encrypted to encrypt the sensi...
Always Encryptedcustomer-managed keyAzure Key VaultCosmos DB encryption - Question #487Develop for Azure Storage and Implement Azure Security - specifically implementing secure access to Azure Key Vault secrets using the Azure Identity and Key Vault SDK libraries (AZ-204 / Azure Developer certification)
Drag and Drop Question You are developing an Azure solution. You need to develop code to access a secret stored in Azure Key Vault. How should you complete the code segment? To ans...
Azure Key VaultAzure SDK AuthenticationDefaultAzureCredentialManaged Identity - Question #489Monitor, troubleshoot, and optimize Azure solutions
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 determin...
Azure Cache for Rediseviction policyvolatile-lruTTL - Question #490Monitor, troubleshoot, and optimize Azure solutions
You develop an Azure App Service web app and deploy to a production environment. You enable Application Insights for the web app. The web app is throwing multiple exceptions in the...
Application InsightsSnapshot Debuggerexception debuggingApp Service - Question #491Monitor, troubleshoot, and optimize Azure solutions - specifically implementing Application Insights telemetry customization using initializers, processors, and sampling to enrich and filter telemetry data before transmission.
Drag and Drop Question You develop and deploy a Java application to Azure. The application has been instrumented by using the Application Insights SDK. The telemetry data must be e...
Application InsightsTelemetry ProcessingAzure MonitoringJava SDK Instrumentation - Question #493Connect to and consume Azure services and third-party services
You develop an ASP.NET Core app that uses Azure App Configuration. You also create an App Configuration containing 100 settings. The app must meet the following requirements: - Ens...
Azure App Configurationdynamic configurationsentinel keycache expiration - Question #494Connect to and consume Azure services and third-party services
You are building an application to track cell towers that are available to phones in near real time. A phone will send information to the application by using the Azure Web PubSub...
Azure Web PubSubCDNwebhook validationWebHook-Request-Origin - Question #497Implement Azure messaging solutions / Develop message-based solutions using Azure Service Bus
A company is developing a solution that allows smart refrigerators to send temperature information to a central location. The solution must receive and store messages until they ca...
Azure Service BusMessage QueuingAzure CLIPowerShell - Question #498Implement API Management policies and policy fragments to manage and secure APIs in Azure - typically mapped to the 'Design and Implement API Management' domain of the AZ-204 or AZ-305 certification.
Drag and Drop Question You develop and deploy several APIs to Azure API Management. You create the following policy fragment named APICounts: The policy fragment must be reused acr...
Azure API ManagementPolicy FragmentsInbound PoliciesAPI Governance - Question #501Implement Azure Container Apps and configure networking/ingress for containerized microservices - typically covered under 'Design and Implement Container-Based Applications' or 'Implement API Management and Microservices' in AZ-204 (Developing Solutions for Microsoft Azure).
Drag and Drop Question You are developing several microservices to run on Azure Container Apps. The microservices must allow HTTPS access by using a custom domain. You need to conf...
Azure Container AppsCustom DomainsIngress ConfigurationTLS/HTTPS - Question #502Develop Azure compute solutions
You are developing several microservices to run on Azure Container Apps. External HTTP ingress traffic has been enabled for the microservices. The microservices must be deployed to...
Azure Container Appsenvironmentvirtual networkLog Analytics - Question #504Connect to and consume Azure services and third-party services
You are developing several Azure API Management (APIM) hosted APIs. The APIs have the following requirements: - Require a subscription key to access all APIs. - Include terms of us...
API Managementproductsubscription approvalterms of use - Question #506Connect to and consume Azure services and third-party services
You are developing several Azure API Management (APIM) hosted APIs. You must inspect request processing of the APIs in APIM. Requests to APIM by using a REST client must also be in...
API ManagementtracingOcp-Apim-Tracerequest inspection - Question #507Develop for Azure storage
You are developing an inventory tracking solution. The solution includes an Azure Function app containing multiple functions triggered by Azure Cosmos DB. You plan to deploy the so...
Azure Cosmos DBstrong consistencymulti-regionconsistency levels - Question #511Implement Azure security
You create and publish a new Azure App Service web app. User authentication and authorization must use Azure Active Directory (Azure AD). You need to configure authentication and a...
App Service authenticationAzure ADidentity providerEasyAuth - Question #512Develop solutions that use Azure Cosmos DB (Design and implement data storage / Change Feed)
Drag and Drop Question You have an Azure Cosmos DB for NoSQL account. You plan to develop two apps named App1 and App2 that will use the change feed functionality to track changes...
Azure Cosmos DBChange FeedPull Model vs Push ModelChange Feed Processor - Question #513Connect to and consume Azure services and third-party services
You are developing several Azure API Management (APIM) hosted APIs. You must transform the APIs to hide private backend information and obscure the technology stack used to impleme...
APIM policiesoutbound policybackend obfuscationglobal scope - Question #514Connect to and consume Azure services and third-party services
You have an Azure API Management (APIM) Standard tier instance named APIM1 that uses a managed gateway. You plan to use APIM1 to publish an API named API1 that uses a backend datab...
APIM rate limitingrate-limit-by-keyAPI throttlingIP-based limiting - Question #517Connect to and consume Azure services and third-party services
You are developing several Azure API Management (APIM) hosted APIs. You must make several minor and non-breaking changes to one of the APIs. The API changes include the following r...
APIM revisionsnon-breaking changesAPI versioningrollback - Question #519Develop Azure compute solutions
You are developing several microservices to run on Azure Container Apps for a company. External TCP ingress traffic from the internet has been enabled for the microservices. The co...
Container Apps scalingKEDAEvent Hub triggercustom scaling rules - Question #520Implement Azure security
Case Study 9 - Munson's Pickles and Preserves Farm Background Munson's Pickles and Preserves Farm is an agricultural cooperative corporation based in Washington, US, with farms loc...
Application GatewayWAFweb app securityingress protection - Question #521Monitor, troubleshoot, and optimize Azure solutions
Case Study 9 - Munson's Pickles and Preserves Farm Background Munson's Pickles and Preserves Farm is an agricultural cooperative corporation based in Washington, US, with farms loc...
Application InsightsTrackMetriccustom telemetrymonitoring SDK - Question #522Implement Azure security
Case Study 9 - Munson's Pickles and Preserves Farm Background Munson's Pickles and Preserves Farm is an agricultural cooperative corporation based in Washington, US, with farms loc...
Azure AD B2Cuser flowsapp registrationidentity - Question #523Implement Azure security
Case Study 9 - Munson's Pickles and Preserves Farm Background Munson's Pickles and Preserves Farm is an agricultural cooperative corporation based in Washington, US, with farms loc...
managed identityApp ConfigurationKey VaultRBAC role assignments - Question #526Design and Implement Infrastructure - Configure and manage Azure CDN profiles, endpoints, and origin groups to optimize content delivery for web applications
Case Study 9 - Munson's Pickles and Preserves Farm Background Munson's Pickles and Preserves Farm is an agricultural cooperative corporation based in Washington, US, with farms loc...
Azure CDNContent Delivery NetworkAzure NetworkingWeb Performance Optimization - Question #533Implement Azure security
You are developing an ASP.NET Core app hosted in Azure App Service. The app requires custom claims to be returned from Microsoft Entra ID for user authorization. The claims must be...
app manifestappRolescustom claimsEntra ID token - Question #534Develop Azure compute solutions
You are developing a microservice to run on Azure Container Apps for a company. External HTTP ingress traffic has been enabled. The company requires that updates to the microservic...
Container Apps revisionszero downtime deploymentmultiple revision modetraffic splitting - Question #536Develop Azure compute solutions
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
Container Apps ingresstroubleshootingexternal HTTP trafficingress configuration - Question #537Develop Azure compute solutions
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
Container Apps ingresstroubleshootingexternal HTTP trafficingress configuration - Question #538Develop Azure compute solutions
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
Container Apps ingresstroubleshootingexternal HTTP trafficingress configuration - Question #539Develop for Azure storage
You have a Linux container-based console application that uploads image files from customer sites all over the world. A back-end system that runs on Azure virtual machines processe...
Azure BlobFuseblob storage mountLinux containerstorage access - Question #540Implement Azure Container Apps storage solutions and understand the differences between container file system, ephemeral volumes, Azure Files, and Azure Blob Storage in the context of microservice persistence requirements.
Drag and Drop Question You are developing several microservices named serviceA, serviceB, and serviceC. You deploy the microservices to a new Azure Container Apps environment. You...
Azure Container AppsStorage ConfigurationMicroservicesEphemeral vs Persistent Storage - Question #541Implement Azure security
Drag and Drop Question You are developing a web service that will run on Azure virtual machines that use Azure Storage. You configure all virtual machines to use managed identities...
Managed IdentitiesAzure IMDSAccess Token RetrievalAzure Storage Authentication - Question #543Develop for Azure storage
You create an Azure Cosmos DB for NoSQL database. You plan to use the Azure Cosmos DB .NET SDK v3 API for NoSQL to upload the following files: You receive the following error messa...
Cosmos DB item size limitNoSQL SDKdocument size413 error - Question #546Implement Azure security
You are developing an application that uses keys stored in Azure Key Vault. You need to enforce a specific cryptographic algorithm and key size for keys stored in the vault. What s...
Key Vault key policyAzure Policycryptographic algorithmkey enforcement - Question #547Monitor, troubleshoot, and optimize Azure solutions
You develop a web application that sells access to last-minute openings for child camps that run on the weekends. The application uses Azure Application Insights for all alerting a...
Application Insights alertsdynamic thresholdsmetric alertsanomaly detection - Question #548Connect to and consume Azure services and third-party services
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
Event Gridevent deliverynear-real-timepush notifications - Question #549Connect to and consume Azure services and third-party services
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
Event Gridevent deliverynear-real-timepush notifications - Question #550Connect to and consume Azure services and third-party services
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
Event Gridevent routingnear-real-time messagingpush notifications - Question #551Connect to and consume Azure services and third-party services
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
Event Gridevent routingnear-real-time messagingpush notifications - Question #553Develop solutions that use Azure Cosmos DB - Configure consistency levels and understand where consistency settings can be applied for read vs. write operations
Drag and Drop Question You have an Azure Cosmos DB for NoSQL API account named account1 and a database named db1. An application named app1 will access db1 to perform read and writ...
Azure Cosmos DBConsistency LevelsNoSQL APISDK Configuration - Question #555Develop Azure compute solutions
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
App Service planBasic tierWebJobsscheduled jobs - Question #556Develop Azure compute solutions
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
App Service planBasic tierWebJobsscheduled jobs - Question #557Develop Azure compute solutions
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
App Service planBasic tierWebJobsscheduled jobs - Question #559Develop Azure compute solutions
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
Container Appsingressnetworkingcontainer configuration - Question #560Develop Azure compute solutions
Drag and Drop Question You have two Azure Container Registry (ACR) instances: ACR01 and ACR02. You plan to implement a containerized application named APP1 that will use a base ima...
Azure Container RegistryACR TasksBase Image UpdatesAzure CLI - Question #565Develop for Azure storage
Case Study 10 - Fourth Coffee Background Fourth Coffee is a global coffeehouse chain and coffee company recognized as one of the world's most influential coffee brands. The company...
Azuritelocal storage emulatorAzure Storagedevelopment tools - Question #566Implement Azure security
Case Study 10 - Fourth Coffee Background Fourth Coffee is a global coffeehouse chain and coffee company recognized as one of the world's most influential coffee brands. The company...
Cosmos DB RBACSQL role definitionmanaged identityKey Vault secrets - Question #568Monitor, troubleshoot, and optimize Azure solutions
Case Study 10 - Fourth Coffee Background Fourth Coffee is a global coffeehouse chain and coffee company recognized as one of the world's most influential coffee brands. The company...
Azure Cache for Redismaxmemory policyexponential backoffcache resilience - Question #569Monitor, troubleshoot, and optimize Azure solutions
Case Study 10 - Fourth Coffee Background Fourth Coffee is a global coffeehouse chain and coffee company recognized as one of the world's most influential coffee brands. The company...
Azure CDNTraffic Managerperformance routingstatic content delivery