OpenStack OpenStack Image Service (Glance) & Dashboard (Horizon) 2 — Questions and Answers
Question 1: What is 'image caching' in the context of Nova and Glance?
- Caching Glance API responses in memcached
- Storing copies of Glance images locally on compute nodes to speed up instance boot (Correct answer)
- Pre-loading frequently used images into GPU memory
- Caching Horizon dashboard templates for faster page rendering
Correct answer: Storing copies of Glance images locally on compute nodes to speed up instance boot
Nova image caching stores Glance images locally on compute nodes so subsequent boots of the same image are faster.
Question 2: What Horizon panel allows an admin to manage all tenant resources in OpenStack?
- Project panel
- Admin panel (Correct answer)
- Identity panel
- System panel
Correct answer: Admin panel
The Admin panel in Horizon provides administrators with visibility and management capabilities over all tenants' resources.
Question 3: Which Glance API feature allows sharing an image with specific OpenStack projects?
- Image export
- Image members (Correct answer)
- Image tagging
- Image mirroring
Correct answer: Image members
Glance image members allow a private image owner to share the image with specific projects by adding them as image members.
Question 4: What is the purpose of Horizon's 'Launch Instance' wizard?
- Installing a new OpenStack deployment from scratch
- Providing a step-by-step GUI workflow to configure and boot a new Nova VM instance (Correct answer)
- Launching a new Horizon dashboard plugin
- Creating a new availability zone in Nova
Correct answer: Providing a step-by-step GUI workflow to configure and boot a new Nova VM instance
Horizon's Launch Instance wizard guides users through selecting an image, flavor, network, security groups, and key pair to boot a VM.
Question 5: What format does Glance support for storing image metadata?
- Only YAML property files
- Key-value properties stored in the Glance database alongside image records (Correct answer)
- JSON objects stored separately in Swift
- XML configuration files in the image filesystem
Correct answer: Key-value properties stored in the Glance database alongside image records
Glance stores image metadata as key-value properties in the database, including architecture, OS type, and minimum disk requirements.
Question 6: What is 'Glance image signing and verification' used for?
- Signing Glance API responses with TLS certificates
- Ensuring image integrity by verifying cryptographic signatures before Nova boots an image (Correct answer)
- Signing user uploads with their Keystone identity
- Verifying Glance storage backend checksums
Correct answer: Ensuring image integrity by verifying cryptographic signatures before Nova boots an image
Glance image signing allows images to be signed with a private key, and Nova can verify the signature before booting to ensure image integrity.
What is 'image caching' in the context of Nova and Glance?