Microsoft Azure Administrator Associate AZ-104 Practice Question
An organization is deploying an application on Azure Container Instances that consists of a web server and a database engine. The application requires the web server and database to communicate over localhost and share the same data volume. What should you do to meet these requirements?
Deploy the web server and database in separate container groups and link them using service endpoints.
Set up an Azure App Service with multi-container support for the application.
Use Azure Kubernetes Service to deploy the application in a single pod.
Deploy both the web server and database in a single container group within Azure Container Instances.
To enable the web server and database engine to communicate over localhost and share the same data volume in Azure Container Instances, you should deploy them within a single container group. Containers in the same container group share the network namespace, allowing localhost communication, and can access shared storage volumes defined for the group. Deploying them in separate container groups or using other services like Azure Kubernetes Service or Azure App Service would not meet the requirements as they either isolate the containers or introduce unnecessary complexity.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Azure Container Instances, and how does it work?
Open an interactive chat with Bash
What are container groups, and why are they important in Azure?
Open an interactive chat with Bash
What is the difference between using Azure Container Instances and Azure Kubernetes Service?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Deploy and manage Azure compute resources
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access