Controller Node Quiz
Day 1, 14:25 to 14:45
Associate Training Guide, Controller Node Quiz Questions
When managing images for OpenStack you can complete all those tasks with the OpenStack
dashboard. (True or False)
True
False
When setting up access and security, SSH credentials (keypairs) must be injected
into images after they are launched with a script. (True or False)
True
False
You can track monthly costs with metrics like: (choose all that apply)
VCPU
QoS
Uptime
Disks
RAM
The following OpenStack command-line clients are available. (choose all that apply)
python-keystoneclient
python-hypervisorclient
python-imageclient
python-cinderclient
python-novaclient
To install a client package the following command syntax is used:
$ sudo pip install [--update] python-project client (True or False)
True
False
To get a list of images in glance you can use the following command syntax:
$ glance image-list
True
False
When troubleshooting image creation you will need to look at which of the following
log files for errors? (choose all that apply)
Examine the /var/log/nova-api.log
Examine the /var/log/nova-compute.log
Examine the /var/log/nova-error.log
Examine the /var/log/nova-status.log
Examine the /var/log/nova-image.log
To generate a keypair use the following command syntax:
$ nova keypair-add --pub_key ~/.ssh/id_rsa.pub KEY_NAME
True
False
When you want to launch an instance you can only do that from an image. (True or False)
True
False
An instance has a Private IP address which has the following properties? (choose all that apply)
Used for communication between instances
VMware vShpere 4.1, update 1 or greater
Stays the same, even after reboots
Stays allocated, even if you terminate the instance
To see the status of the Private IP addresses you use the following command:
$ nova floating-ip-pool-list
To start and stop and instance you can use the following options: (choose all that apply)
Pause/Un-pause
Suspend/Resume
Reboot
Evacuate
Shutdown/Restart
To create a network in OpenStack use the following command: $ neutron net-create net1 (True or False)
True
False
Identity Service provides the following functions: (choose all that apply)
Group policy objects
Message queuing
User management
Publishing
Service catalog
The AMQP supports the following messaging bus options: (choose all that apply)
ZeroMQ
RabbitMQ
Tibco Rendezvous
IBM WebSphere Message Broker
Qpid
OpenStack uses the term tenant but in earlier versions it used the term customer. (True or False)
True
False
Associate Training Guide, Controller Node Quiz Answers
B (False) - you can manage images through only the glance and nova clients or the Image
Service and Compute APIs.
B (False) - Keypairs are SSH credentials that are injected into images when they are launched.
For this to work, the image must contain the cloud-init package
A, C, D, E - You can track costs per month by showing metrics like number of VCPUs, disks,
RAM, and uptime of all your instances
A, D, E - The following command-line clients are available for the respective services' APIs:
cinder(python-cinderclient)
Client for the Block Storage Service API. Use to create and manage volumes.
glance(python-glanceclient)
Client for the Image Service API. Use to create and manage images.
keystone(python-keystoneclient)
Client for the Identity Service API. Use to create and manage users, tenants, roles, endpoints, and credentials.
nova(python-novaclient)
Client for the Compute API and its extensions. Use to create and manage images, instances, and flavors.
neutron(python-neutronclient)
Client for the Networking API. Use to configure networks for guest servers. This client was previously known as neutron.
swift(python-swiftclient)
Client for the Object Storage API. Use to gather statistics, list items, update metadata, upload, download and delete files stored by the object storage service. Provides access to a swift installation for ad hoc processing.
heat(python-heatclient)
A (True)
A (True)
A, B
B (False) - $ nova keypair-add KEY_NAME > MY_KEY.pem
B (False) - you can launch and instance from an image or a volume
A, B, C
A, B, C, D
A (True)
C, E
A, B, E
B (False) - Because the term project was used instead of tenant in earlier versions of
OpenStack Compute, some command-line tools use --project_id instead of --tenant-id or
--os-tenant-id to refer to a tenant ID.