Configure Storage Service for Azure Container Instances | AZ-104 Exam Preparation

Configure Storage Service for Azure Container Instances

Question

You have an Azure subscription that contains an Azure Storage account.

You plan to create an Azure container instance named container1 that will use a Docker image named Image1. Image1 contains a Microsoft SQL Server instance that requires persistent storage.

You need to configure a storage service for Container1.

What should you use?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D

In order to provide persistent storage for the Microsoft SQL Server instance in the Docker image, you should use Azure Files.

Azure Files provides a fully managed file share in the cloud that can be accessed using the industry standard SMB protocol. This means that the file share can be mounted as a drive letter on Windows and as a file system on Linux, providing a consistent experience across operating systems.

Azure Blob storage is an object storage solution that is optimized for storing large unstructured data, such as images and videos, and is not well-suited for storing persistent data for a running application.

Azure Queue storage is a service for storing large numbers of messages that can be accessed from anywhere in the world via authenticated calls using HTTP or HTTPS. This service is primarily used for building distributed systems and processing asynchronous messages between components.

Azure Table storage is a NoSQL key-value store that is ideal for storing non-relational data in a scalable and cost-effective manner. However, it is not well-suited for storing persistent data for a running application that requires the file system semantics provided by Azure Files.

Therefore, the correct answer is A. Azure Files.