OpenStack OpenStack MCQ 3 — Questions and Answers
Question 1: What does the 'nova-conductor' service do in OpenStack?
- Routes network packets between instances
- Acts as a database proxy to reduce direct DB access from compute nodes (Correct answer)
- Manages block storage volumes
- Schedules image uploads to Glance
Correct answer: Acts as a database proxy to reduce direct DB access from compute nodes
nova-conductor mediates database access from compute nodes, improving security by preventing direct DB connections.
Question 2: Which Cinder backend driver is commonly used for local LVM-based 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
LVMVolumeDriver uses Linux LVM to carve out logical volumes as Cinder block storage on the local host.
Question 3: In OpenStack Neutron, what is the role of a 'router'?
- Provides DHCP to instances
- Connects tenant networks to external networks and routes traffic between subnets (Correct answer)
- Applies security group rules
- Manages floating IP allocation pools
Correct answer: Connects tenant networks to external networks and routes traffic between subnets
A Neutron router connects internal tenant subnets to each other and to external networks for internet access.
Question 4: What is the default hypervisor used by OpenStack Nova?
- VMware ESXi
- Microsoft Hyper-V
- KVM (Correct answer)
- Xen
Correct answer: KVM
KVM (Kernel-based Virtual Machine) is the default and most widely used hypervisor for OpenStack Nova compute.
Question 5: Which OpenStack service provides container cluster management (Kubernetes, Docker Swarm)?
- Zun
- Magnum (Correct answer)
- Kolla
- Ironic
Correct answer: Magnum
Magnum provisions and manages container orchestration engines like Kubernetes and Docker Swarm as first-class resources.
Question 6: What happens when you 'shelve' an instance in OpenStack Nova?
- The instance is terminated and its data is deleted
- The instance is stopped and its image is saved to Glance, freeing compute resources (Correct answer)
- The instance is migrated to another host
- The instance's network is disconnected
Correct answer: The instance is stopped and its image is saved to Glance, freeing compute resources
Shelving saves the instance state as a Glance image and frees compute host resources while preserving the instance record.
Question 7: Which OpenStack project manages bare-metal provisioning?
- Ironic (Correct answer)
- Magnum
- Zun
- Tripleo
Correct answer: Ironic
Ironic is OpenStack's bare-metal provisioning service that deploys OS images directly onto physical hardware.
What does the 'nova-conductor' service do in OpenStack?