OSOpenStack Learning Academy
INTERVIEW PREPARATION

OpenStack Question & Answer Bank

All 50 questions from the supplied senior interview guide, grouped by module.

MODULE C · Q19–Q25

Storage (Cinder, Swift, Glance)

Q19. What types of storage are supported by OpenStack, and what are their use cases?
Common models include ephemeral storage tied to an instance lifecycle; Cinder persistent block volumes; Swift object storage; Manila shared file systems where deployed; and Glance-managed VM images. Backends may be local, distributed or external, such as Ceph. Block suits virtual disks and databases, object suits API-accessed unstructured data, file suits shared file access, and ephemeral suits temporary instance storage.
Q20. Explain Cinder and its role in an infrastructure stack.
Cinder is OpenStack's Block Storage service. It provides APIs to create, manage, attach, detach, snapshot and transfer persistent block volumes. A volume appears to a guest as a block device. Cinder drivers integrate with backends such as LVM, Ceph RBD, iSCSI, Fibre Channel and vendor arrays. Cinder manages volume lifecycle; the backend stores the data.
Q21. How does Swift structurally and operationally differ from Cinder?
Swift is object storage: objects reside in containers and are accessed through an HTTP object API. It suits unstructured data such as backups, media and archives. Cinder is block storage: it provisions virtual block devices attached to VMs and used like disks. Swift clients work with objects and metadata; Cinder consumers work with block devices and file systems. Their access patterns and operational characteristics differ.
Q22. What is Glance?
Glance is OpenStack's Image service. It lets users and services discover, register, upload, share and manage images used to create instances. An image contains operating-system or application disk content plus metadata such as format, visibility and architecture. Nova obtains image information and data through Glance when building an instance. Glance provides image cataloguing and access; it does not run VMs.
Q23. Where can VM images managed by Glance be stored (what backends are supported)?
Glance separates image metadata from image-data storage through configurable stores. Depending on release and configuration, image data may reside in a local file system, Swift, Ceph RBD or supported external integrations; some deployments use shared file systems or other supported stores. The available list is release- and packaging-dependent. Check the Glance configuration and documentation for the deployed version.
Q24. How can you transfer ownership of a Cinder volume from one project to another via CLI?
Use a volume transfer request. The current owner creates one, commonly with `openstack volume transfer request create <volume>`, receiving a transfer ID and authorization key. The receiving project accepts it with `openstack volume transfer request accept <transfer-id> <auth-key>`, subject to policy and volume-state restrictions. Check the installed CLI help for exact syntax. Treat the authorization key as sensitive.
Q25. What is the advantage of using Ceph as a unified storage backend in an OpenStack environment?
Ceph provides distributed block storage through RBD, object storage through its object gateway and file storage through CephFS. OpenStack services can integrate with these interfaces, potentially consolidating storage, scaling capacity, supporting replication and recovery, and reducing separate storage silos. Benefits depend on design, network capacity, failure domains, tuning and operational expertise. Ceph is not automatically simpler or faster in every environment.