From 88cb95313db690c94835c24bc5dffc3b3be342d7 Mon Sep 17 00:00:00 2001 From: Sean Roberts Date: Mon, 30 Dec 2013 16:56:31 -0800 Subject: [PATCH] associate guide controller quiz second batch of quiz questions. for associate guide. Closes Bug: #1263609 Change-Id: Ic72cf3ba17d49751022eed9c5f7e98d015bab42a --- ...1-ch004-associate-controller-node-quiz.xml | 373 +++++++++++++++++- 1 file changed, 372 insertions(+), 1 deletion(-) diff --git a/doc/training-guides/bk001-ch004-associate-controller-node-quiz.xml b/doc/training-guides/bk001-ch004-associate-controller-node-quiz.xml index 3c3900b9c4..d959d2398d 100644 --- a/doc/training-guides/bk001-ch004-associate-controller-node-quiz.xml +++ b/doc/training-guides/bk001-ch004-associate-controller-node-quiz.xml @@ -6,6 +6,377 @@ 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. + + + +