Microsoft Azure Administrator Associate AZ-104 Practice Question
You need to deploy an application that requires two containers to communicate over localhost and share a local cache. Which deployment method should you choose in Azure to achieve this?
Deploy the containers in separate instances and use shared storage for the cache.
Deploy the containers in the same virtual network and configure network rules for communication.
Deploy the containers together in a container group with a shared volume.
Deploy the containers in a Kubernetes cluster with persistent volumes.
Deploying multiple containers within the same container group in Azure Container Instances allows them to share the same network namespace and storage volumes. This configuration enables the containers to communicate over localhost and share data using a shared volume. Deploying the containers separately or in different instances would prevent localhost communication, and using external shared storage doesn't enable localhost communication. Deploying the containers in a Kubernetes cluster adds unnecessary complexity, and placing them in the same virtual network doesn't guarantee localhost communication or shared local cache.
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 are Azure Container Instances (ACI)?
Open an interactive chat with Bash
What is a container group in Azure?
Open an interactive chat with Bash
What is a shared volume in Azure Container Instances?
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