OpenStack Vskills 2 — Questions and Answers
Question 1: Which OpenStack service is responsible for providing block storage to virtual machines?
- Swift
- Cinder (Correct answer)
- Glance
- Neutron
Correct answer: Cinder
Cinder provides persistent block storage volumes that can be attached to Nova compute instances.
Question 2: In OpenStack Neutron, what is a 'floating IP' used for?
- Assigning a private IP to an instance
- Providing external/public connectivity to an instance (Correct answer)
- Routing traffic between two private networks
- Reserving an IP for a router gateway
Correct answer: Providing external/public connectivity to an instance
Floating IPs are public addresses that can be dynamically associated with instances to allow external network access.
Question 3: Which command lists all available Nova flavors in OpenStack?
- nova list
- nova flavor-list (Correct answer)
- openstack server list
- openstack image list
Correct answer: nova flavor-list
The 'nova flavor-list' command (or 'openstack flavor list' in the unified CLI) displays all available hardware profiles.
Question 4: What is the role of Keystone's 'endpoint' in OpenStack?
- A physical server address in the cluster
- A URL pointing to a specific service API (Correct answer)
- A user authentication token
- A project's network boundary
Correct answer: A URL pointing to a specific service API
Keystone endpoints are URLs registered in the service catalog that clients use to access specific OpenStack services.
Question 5: Which OpenStack component manages the lifecycle of VM images before they are launched?
- Nova
- Ironic
- Glance (Correct answer)
- Heat
Correct answer: Glance
Glance is the OpenStack image registry service that stores, retrieves, and manages virtual machine disk images.
Question 6: In an OpenStack HA setup, what is the purpose of Pacemaker?
- Load balancing HTTP requests
- Managing cluster resources and failover (Correct answer)
- Monitoring Ceph storage health
- Scheduling Nova compute tasks
Correct answer: Managing cluster resources and failover
Pacemaker is a high-availability cluster resource manager that handles failover and ensures services remain available.
Question 7: Which OpenStack service provides DNS-as-a-Service?
- Barbican
- Designate (Correct answer)
- Manila
- Magnum
Correct answer: Designate
Designate is the OpenStack DNS-as-a-Service component that manages DNS zones and records.
Which OpenStack service is responsible for providing block storage to virtual machines?