OpenStack Vskills 4 — Questions and Answers
Question 1: In OpenStack, what does 'live migration' require that 'cold migration' does not?
- The instance must be in SHUTOFF state
- Shared storage or block migration support between compute hosts (Correct answer)
- A snapshot of the instance disk before moving
- Admin credentials on both source and destination hosts
Correct answer: Shared storage or block migration support between compute hosts
Live migration moves a running instance and requires either shared storage or block migration to transfer the disk state without downtime.
Question 2: Which configuration file controls Nova's scheduler behavior, including filters and weights?
- /etc/nova/nova.conf (Correct answer)
- /etc/nova/scheduler.conf
- /etc/nova/api.conf
- /etc/nova/policy.yaml
Correct answer: /etc/nova/nova.conf
nova.conf contains all Nova service configuration including scheduler_driver, enabled_filters, and weight settings under [filter_scheduler].
Question 3: What is the purpose of OpenStack Ironic?
- Provisioning containers on Kubernetes clusters
- Deploying bare-metal servers as if they were virtual machines (Correct answer)
- Managing network overlays for multi-tenant environments
- Encrypting secrets and certificates for services
Correct answer: Deploying bare-metal servers as if they were virtual machines
Ironic is the OpenStack bare-metal provisioning service that treats physical servers similarly to how Nova treats virtual machines.
Question 4: Which OpenStack CLI command creates a new Neutron network?
- openstack network add
- openstack network create (Correct answer)
- neutron net-new
- openstack subnet create
Correct answer: openstack network create
The 'openstack network create' command creates a new virtual network in Neutron using the unified OpenStack client.
Question 5: What is Zaqar in the OpenStack ecosystem?
- A container orchestration service
- A multi-tenant message queuing service (Correct answer)
- A secrets management backend
- A telemetry data collection agent
Correct answer: A multi-tenant message queuing service
Zaqar is the OpenStack Message Queuing service, providing multi-tenant, cloud-native messaging for applications.
Question 6: In OpenStack Swift, what is an 'account' in the object storage hierarchy?
- A user login credential
- The top-level namespace associated with a tenant/project (Correct answer)
- A container holding objects
- A storage policy definition
Correct answer: The top-level namespace associated with a tenant/project
In Swift's hierarchy, an account maps to an OpenStack project/tenant and is the top-level namespace that holds containers.
Question 7: What does the 'cinder retype' command allow an administrator to do?
- Change the name of a volume type
- Move a volume from one backend/type to another (Correct answer)
- Convert a volume snapshot to a full volume
- Update the QoS specs attached to a volume
Correct answer: Move a volume from one backend/type to another
cinder retype migrates a volume's data to a different Cinder backend or storage type without the user having to delete and recreate it.
In OpenStack, what does 'live migration' require that 'cold migration' does not?