AZ-204 Quiz

← Back to Topics

Containers (1 / 60):

As a DevOps engineer at ABC Industries, you are in charge of deploying a Node.js web service that communicates with a MongoDB database to Microsoft Azure. This service relies on environment variables DB_URL and SECRET_TOKEN for database connection and secure interactions, respectively. The service's Docker image is hosted on Docker Hub under abcindustries/ai-service-app.

For deployment, an Azure Container App should be created under the name ai-service-app, located in the westus2 region within the abc-industries resource group. The app will run on port 8000 and needs DB_URL and SECRET_TOKEN set to mongodb://username:password@dbhost:27017/dbname and sometoken respectively. The container instance should have suitable CPU and memory specifications.

Considering these requirements, how would you employ Azure CLI to set up this Azure Container App?

# Code here


Exam revision: April 11, 2025