MCQs on Creating and Managing Azure Disks | Azure Disk Storage

Creating and managing Azure disks is essential for cloud storage in Microsoft Azure. This chapter covers topics like creating managed disks, resizing, encryption, and managing snapshots and backups to ensure data security and scalability.

MCQs:

Section 1: Creating Managed Disks (via Portal, CLI, PowerShell)

1. Which of the following is a method to create managed disks in Azure?
a) PowerShell
b) Azure CLI
c) Azure Portal
d) All of the above

2. To create a managed disk using Azure CLI, which command is used?
a) az disk create
b) az vm create
c) az create disk
d) az create vm

3. Which tool can be used to create and manage Azure disks using a graphical interface?
a) Azure CLI
b) PowerShell
c) Azure Portal
d) Azure Storage Explorer

4. What is the first step in creating a managed disk via Azure Portal?
a) Select the virtual machine
b) Go to the “Disks” section
c) Create a new resource group
d) Select “Create a resource” and then “Disks”

5. Which command in PowerShell is used to create a new managed disk?
a) New-AzDisk
b) Create-AzDisk
c) Add-AzDisk
d) AzDisk-New

6. What is required to create a managed disk using the Azure CLI?
a) Resource group
b) Disk size and location
c) Storage account
d) All of the above

7. Which of the following is NOT a prerequisite for creating a managed disk in Azure?
a) A virtual machine
b) Resource group
c) Storage account
d) Disk size

8. When creating a managed disk via the Azure Portal, what is required to specify for the disk?
a) Disk type (Standard SSD, Premium SSD, etc.)
b) Disk encryption
c) Disk size
d) All of the above

Section 2: Disk Resizing and Scaling

9. How do you resize a managed disk in Azure?
a) Through the Azure Portal only
b) By deleting the disk and recreating it
c) By modifying the disk settings in the Azure Portal
d) Resizing is not supported

10. Which type of disk can be resized directly in Azure?
a) Only Premium SSD
b) Only Standard HDD
c) Both Premium SSD and Standard HDD
d) Neither

11. What must be done before resizing an Azure managed disk?
a) The disk must be attached to a virtual machine
b) The disk must be unattached from any virtual machine
c) The virtual machine must be restarted
d) The disk must be deleted

12. In Azure, what happens when a disk is resized to a larger size?
a) The data on the disk is automatically backed up
b) The disk is automatically reformatted
c) The disk space becomes available for use after resizing
d) The virtual machine requires reinstallation

13. Which tool can be used to resize disks in Azure via CLI?
a) az disk resize
b) az vm resize
c) az vm disk resize
d) az vm disk upgrade

14. Which of the following disk types can be scaled up in Azure?
a) Only Standard HDD
b) Only Premium SSD
c) Both Standard SSD and Premium SSD
d) Both Standard HDD and Premium SSD

15. What is the maximum size that a managed disk can be scaled to in Azure?
a) 32 TB
b) 64 TB
c) 2 TB
d) 4 TB

16. Can an Azure managed disk be resized while attached to a running virtual machine?
a) Yes, without any issues
b) No, the virtual machine must be stopped
c) Yes, but the virtual machine must be restarted
d) No, it can only be resized if unattached

Section 3: Disk Encryption (Azure Disk Encryption, Encryption at Rest)

17. What is Azure Disk Encryption used for?
a) To protect data in transit
b) To encrypt data stored on Azure disks
c) To provide secure communication between Azure regions
d) To encrypt backup data

18. Which encryption standard does Azure Disk Encryption use?
a) AES-128
b) AES-192
c) AES-256
d) AES-512

19. What is Encryption at Rest in Azure?
a) Encryption applied only to data in virtual machines
b) Encryption applied to all data stored in Azure storage, including disks
c) Encryption applied only to backup data
d) Encryption applied only to specific types of disks

20. What key management service does Azure use for managing disk encryption keys?
a) Azure Key Vault
b) Azure Storage Account
c) Azure Active Directory
d) Azure Security Center

21. Which of the following is a prerequisite for enabling Azure Disk Encryption?
a) A valid subscription
b) Azure Key Vault
c) Storage account
d) Virtual machine backup

22. How can encryption be enabled on a managed disk in Azure?
a) Using PowerShell
b) Using the Azure Portal
c) Using Azure CLI
d) All of the above

23. What is the purpose of Azure Key Vault in disk encryption?
a) To store backup data
b) To generate encryption keys
c) To manage encryption certificates
d) To hold encryption keys securely

24. Which disk encryption method can be used for Azure managed disks?
a) Azure Disk Encryption
b) BitLocker
c) Both Azure Disk Encryption and BitLocker
d) None of the above

25. What is the result of enabling Encryption at Rest in Azure?
a) The virtual machine is encrypted
b) Only backup data is encrypted
c) The data stored in Azure disks is automatically encrypted
d) Encryption is only applied to blobs, not disks

Section 4: Snapshot and Backup of Disks

26. What is the purpose of taking a snapshot of an Azure disk?
a) To create a backup of the entire virtual machine
b) To create a point-in-time copy of the disk
c) To speed up disk performance
d) To monitor disk usage

27. Which tool can be used to take a snapshot of a managed disk in Azure?
a) Azure CLI
b) PowerShell
c) Azure Portal
d) All of the above

28. What is the maximum retention period for an Azure disk snapshot?
a) 30 days
b) 60 days
c) There is no retention limit
d) 365 days

29. Which of the following is true about disk snapshots in Azure?
a) Snapshots can only be taken when the disk is not in use
b) Snapshots are point-in-time copies and can be used to restore data
c) Snapshots are only available for premium disks
d) Snapshots cannot be taken from a virtual machine

30. How are backups of Azure managed disks typically taken?
a) By creating disk snapshots
b) Using Azure Backup Service
c) By copying the data to another disk
d) By exporting the disk to a local machine


Answers:

QnoAnswer (Option with Text)
1d) All of the above
2a) az disk create
3c) Azure Portal
4d) Select “Create a resource” and then “Disks”
5a) New-AzDisk
6d) All of the above
7a) A virtual machine
8d) All of the above
9c) By modifying the disk settings in the Azure Portal
10c) Both Premium SSD and Standard HDD
11b) The disk must be unattached from any virtual machine
12c) The disk space becomes available for use after resizing
13a) az disk resize
14d) Both Standard HDD and Premium SSD
15b) 64 TB
16b) No, the virtual machine must be stopped
17b) To encrypt data stored on Azure disks
18c) AES-256
19b) Encryption applied to all data stored in Azure storage, including disks
20a) Azure Key Vault
21b) Azure Key Vault
22d) All of the above
23b) To generate encryption keys
24c) Both Azure Disk Encryption and BitLocker
25c) The data stored in Azure disks is automatically encrypted
26b) To create a point-in-time copy of the disk
27d) All of the above
28c) There is no retention limit
29b) Snapshots are point-in-time copies and can be used to restore data
30b) Using Azure Backup Service

Use a Blank Sheet, Note your Answers and Finally tally with our answer at last. Give Yourself Score.

X
error: Content is protected !!
Scroll to Top