OpenStack OpenStack Storage (Cinder & Swift) 1 — Questions and Answers
Question 1: Which OpenStack service provides block storage (persistent volumes) to virtual machines?
- Swift
- Glance
- Cinder (Correct answer)
- Manila
Correct answer: Cinder
Cinder is the OpenStack Block Storage service that provides persistent block storage volumes to VM instances.
Question 2: What is OpenStack Swift used for?
- Block storage for VM disks
- Object storage for unstructured data like files and backups (Correct answer)
- File storage with NFS/CIFS protocols
- Ephemeral storage for running instances
Correct answer: Object storage for unstructured data like files and backups
Swift is OpenStack's Object Storage service for storing and retrieving unstructured data such as files, images, and backups.
Question 3: In Cinder, what is a 'volume'?
- A logical storage pool shared among all tenants
- A detachable persistent block device that can be attached to a VM (Correct answer)
- A snapshot of a running instance's root disk
- A filesystem mounted directly on the compute node
Correct answer: A detachable persistent block device that can be attached to a VM
A Cinder volume is a persistent, detachable block device that can be attached to and detached from VM instances.
Question 4: Which Cinder driver is commonly used with LVM (Logical Volume Manager) for local block storage?
- cinder.volume.drivers.rbd.RBDDriver
- cinder.volume.drivers.lvm.LVMVolumeDriver (Correct answer)
- cinder.volume.drivers.nfs.NfsDriver
- cinder.volume.drivers.iscsi.ISCSIDriver
Correct answer: cinder.volume.drivers.lvm.LVMVolumeDriver
The LVMVolumeDriver uses Linux LVM to create volumes and exports them via iSCSI to compute nodes by default.
Question 5: What is a Cinder 'snapshot'?
- A full clone of a volume stored in a separate pool
- A point-in-time read-only copy of a Cinder volume (Correct answer)
- A live backup of a running instance's root disk
- A pre-configured volume template
Correct answer: A point-in-time read-only copy of a Cinder volume
A Cinder snapshot is a point-in-time, read-only copy of a volume that can be used to create new volumes.
Question 6: In Swift, what is the basic unit of storage called?
- Blob
- Bucket
- Object (Correct answer)
- Block
Correct answer: Object
In Swift, the basic unit of storage is an 'object', which is stored in containers within accounts.
Which OpenStack service provides block storage (persistent volumes) to virtual machines?