COA Data Management & Integration 2 — Questions and Answers
Question 1: Which OpenStack service provides shared file system capabilities using protocols like NFS and CIFS?
- Cinder
- Swift
- Manila (Correct answer)
- Glance
Correct answer: Manila
Manila is the OpenStack Shared File Systems service that provides shared file storage via NFS, CIFS, and other protocols.
Question 2: When using Swift, what is the maximum size of a single object that can be uploaded without using segmented objects?
- 1 GB
- 5 GB (Correct answer)
- 10 GB
- 50 GB
Correct answer: 5 GB
Swift supports a maximum single object size of 5 GB; larger files must be uploaded as segmented (large) objects using the Swift Large Object feature.
Question 3: A Cinder volume backup differs from a Cinder snapshot in that a backup:
- Is stored on the same Cinder backend as the source volume
- Requires the volume to be detached before creation
- Is stored in Swift or an external backup store, independent of the Cinder backend (Correct answer)
- Cannot be used to restore a volume to a different availability zone
Correct answer: Is stored in Swift or an external backup store, independent of the Cinder backend
Cinder backups are stored in Swift (or another backup driver target), making them independent of the source Cinder backend, unlike snapshots.
Question 4: Which command correctly creates a Cinder volume from an existing snapshot?
- openstack volume create --snapshot <snapshot-id> --size 10 myvol (Correct answer)
- openstack volume create --from-snapshot <snapshot-id> myvol
- cinder create --snapshot-id <snapshot-id> myvol
- openstack volume snapshot restore <snapshot-id> --name myvol
Correct answer: openstack volume create --snapshot <snapshot-id> --size 10 myvol
The correct syntax is `openstack volume create --snapshot <snapshot-id> --size <size> <name>` to create a volume from a snapshot.
Question 5: In Swift, a container ACL that grants read access to all users would use which setting?
- X-Container-Read: .r:* (Correct answer)
- X-Container-Read: *:*
- X-Container-Access: public
- X-Container-Read: public:all
Correct answer: X-Container-Read: .r:*
Setting `X-Container-Read: .r:*` grants public read access to all HTTP clients regardless of authentication.
Question 6: What is the purpose of the OpenStack Barbican service in a data management context?
- Managing block storage quotas
- Storing and managing encryption keys and secrets for volumes and images (Correct answer)
- Providing metadata indexing for Swift objects
- Replicating data across availability zones
Correct answer: Storing and managing encryption keys and secrets for volumes and images
Barbican is OpenStack's Key Manager service that securely stores secrets, certificates, and encryption keys used by services like Cinder volume encryption.
Question 7: Which Manila concept defines the storage backend and capabilities (like snapshot support or replication) available for share creation?
- Share Group
- Share Type (Correct answer)
- Share Network
- Access Rule
Correct answer: Share Type
A Manila Share Type specifies the backend storage capabilities and extra specs that determine which backend will fulfill a share creation request.
Which OpenStack service provides shared file system capabilities using protocols like NFS and CIFS?