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 in a Kubernetes cluster with persistent volumes.
Deploy the containers together in a container group with a shared volume.
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 is a container group in Azure Container Instances?
Open an interactive chat with Bash
Why can't containers in separate instances communicate over localhost?
Open an interactive chat with Bash
What are the advantages of using shared volumes in container groups?
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...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .