Identity, Image, and Compute Management Flashcards
7 cards from real COA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Identity, Image, and Compute Management flashcards as text
A Nova flavor has vcpus=4, ram=8192, disk=20, and an extra spec 'aggregate_instance_extra_specs:ssd=true'. What does the extra spec control?
Answer: It constrains instance placement to host aggregates tagged with ssd=true
The 'aggregate_instance_extra_specs' prefix causes the Nova scheduler to match the flavor's extra specs against host aggregate metadata, restricting placement.
What is the correct Nova command to resize a running instance to a larger flavor while keeping the instance on the same compute host if possible?
Answer: openstack server resize --flavor
'openstack server resize' initiates a resize operation and places the instance in VERIFY_RESIZE state awaiting confirmation after completion.
After resizing a Nova instance, the instance is in 'VERIFY_RESIZE' state. What command must the administrator run to finalize the resize?
Answer: openstack server confirm resize
'openstack server confirm resize' finalizes the resize, releases the old allocation, and transitions the instance to ACTIVE state.
Which Nova mechanism allows an administrator to group compute hosts so that instances can be constrained or spread across physically isolated fault domains?
Answer: Availability zones
Availability zones are the user-facing abstraction of host aggregates, allowing tenants to select isolated fault domains when launching instances.
An operator wants two instances to be guaranteed to run on DIFFERENT physical compute hosts for redundancy. Which Nova server group policy achieves this?
Answer: anti-affinity
The 'anti-affinity' policy enforces hard placement of instances on separate compute hosts, failing if no separate host is available.
What Nova console type provides a browser-based graphical console using the SPICE protocol, offering better performance than VNC for multimedia workloads?
Answer: spice-html5
The spice-html5 console type uses the SPICE protocol delivered via HTML5, providing better compression and multimedia support than VNC.
A user runs 'openstack server create' with --user-data pointing to a cloud-init script. Where does the running instance retrieve this user data by default?
Answer: From the Nova metadata API at 169.254.169.254
Instances retrieve user data and instance metadata from the Nova metadata API at the link-local address 169.254.169.254, which Nova proxies.