nerdexam
Microsoft

AZ-204 · Question #614

Drag and Drop Question You are developing a microservices-based application by using Azure Container Apps. The application consists of several containerized services that handle tasks, such as…

The correct answer is azd up; az containerapp up. For serviceA, 'azd up' (Azure Developer CLI) is correct because it provisions Azure resources using infrastructure-as-code files like Bicep and deploys the application in a single command, which satisfies the requirement to create resources including Dapr components and Blob…

Submitted by dimitri_ru· Mar 30, 2026Implement containerization and microservices solutions using Azure Container Apps, including deploying services with appropriate CLI tooling and infrastructure-as-code frameworks (AZ-204: Develop solutions that use Azure Container Apps)

Question

Drag and Drop Question You are developing a microservices-based application by using Azure Container Apps. The application consists of several containerized services that handle tasks, such as processing orders, managing inventory, and generating reports. You must deploy two microservices named serviceA and serviceB to support managing inventory. Deployment of the microservices have the following requirements: - serviceA must create and configure all necessary Azure resources, including multiple Dapr components and an Azure Blob Storage account, by using Bicep files. - serviceB must create and configure all necessary Azure resources without using Bicep files. - All microservices must use the same resource group, environment, Azure Container Registry, and Log Analytics workspace. You need to deploy the microservices. Which CLI command should you use? To answer, move the appropriate CLI commands to the correct microservices. You may use each CLI command once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Exhibit

AZ-204 question #614 exhibit

Answer Area

Drag items

azd upaz acr buildaz containerapp updocker-compose up

Correct arrangement

  • azd up
  • az containerapp up

Explanation

For serviceA, 'azd up' (Azure Developer CLI) is correct because it provisions Azure resources using infrastructure-as-code files like Bicep and deploys the application in a single command, which satisfies the requirement to create resources including Dapr components and Blob Storage via Bicep. For serviceB, 'az containerapp up' is correct because it creates and configures all necessary Azure Container Apps resources imperatively without Bicep files, and it supports reusing existing resources like a shared resource group, environment, ACR, and Log Analytics workspace via parameters.

Topics

#Azure Container Apps#Azure Developer CLI (azd)#Bicep Infrastructure-as-Code#Dapr Components

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice