Question 422 of 997
Develop Azure compute solutionseasyMultiple ChoiceObjective-mapped

AZ-204 Develop Azure compute solutions Practice Question

This AZ-204 practice question tests your understanding of develop azure compute solutions. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. A key principle to apply: azure Files provides fully managed file shares in the cloud.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You are deploying a containerized application to Azure Container Instances (ACI). The application writes temporary data to a local disk that must persist across container restarts (e.g., after a crash). Which configuration should you use?

Question 1easymultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Mount an Azure Files share as a volume in the container group.

Option A is correct because Azure Container Instances (ACI) supports mounting an Azure Files share as a persistent volume. When a container restarts (e.g., after a crash), the temporary disk is wiped, but data written to an Azure Files share persists independently of the container's lifecycle. This meets the requirement for data to survive container restarts.

Key principle: Azure Files provides fully managed file shares in the cloud.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Mount an Azure Files share as a volume in the container group.

    Why this is correct

    Azure Files shares are persistent and can be mounted across container restarts, providing durable storage.

    Related concept

    Azure Files provides fully managed file shares in the cloud.

  • Use the temporary disk automatically allocated by ACI.

    Why it's wrong here

    The temporary disk is ephemeral and data is lost when the container restarts.

  • Store data in an Azure Cosmos DB database.

    Why it's wrong here

    Cosmos DB is a remote database, not a local disk. This solution adds latency and complexity.

  • Use an emptyDir volume as available in Kubernetes.

    Why it's wrong here

    emptyDir is a Kubernetes volume type; Azure Container Instances does not support it directly.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse the temporary disk (which is ephemeral) with persistent storage, or they incorrectly assume Kubernetes concepts like emptyDir apply to ACI, when ACI has its own volume mounting mechanisms (Azure Files, secrets, empty directories).

Detailed technical explanation

How to think about this question

Under the hood, Azure Files uses the SMB 3.0 protocol to provide a fully managed file share in the cloud. When mounted in an ACI container group, the share is accessible via a standard mount path, and data written there is stored in the Azure storage account, surviving any container restarts or crashes. A real-world scenario is a logging application that writes debug logs to a local path; using Azure Files ensures logs are retained for analysis even if the container fails and is restarted by ACI's auto-healing mechanisms.

KKey Concepts to Remember

  • Azure Files provides fully managed file shares in the cloud.
  • Azure Files shares can be mounted as volumes in Azure Container Instances.
  • Data stored on an Azure Files volume persists across container restarts.
  • Mounting an Azure Files share requires an Azure Storage account.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Azure Files provides fully managed file shares in the cloud.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Azure Files provides fully managed file shares in the cloud. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Review azure Files provides fully managed file shares in the cloud., then practise related AZ-204 questions on the same topic to reinforce the concept.

Related practice questions

Related AZ-204 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-204 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-204 question test?

Develop Azure compute solutions — This question tests Develop Azure compute solutions — Azure Files provides fully managed file shares in the cloud..

What is the correct answer to this question?

The correct answer is: Mount an Azure Files share as a volume in the container group. — Option A is correct because Azure Container Instances (ACI) supports mounting an Azure Files share as a persistent volume. When a container restarts (e.g., after a crash), the temporary disk is wiped, but data written to an Azure Files share persists independently of the container's lifecycle. This meets the requirement for data to survive container restarts.

What should I do if I get this AZ-204 question wrong?

Review azure Files provides fully managed file shares in the cloud., then practise related AZ-204 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

Azure Files provides fully managed file shares in the cloud.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.