Atom feed of this document
  
 

 Chapter 4. Controller Node Quiz

 Day 1, 14:25 to 14:45

Associate Training Guide, Controller Node Quiz Questions. 

  1. When managing images for OpenStack you can complete all those tasks with the OpenStack dashboard. (True or False). 

    1. True

    2. False

  2. When setting up access and security, SSH credentials (keypairs) must be injected into images after they are launched with a script. (True or False). 

    1. True

    2. False

  3. You can track monthly costs with metrics like: (choose all that apply). 

    1. VCPU

    2. QoS

    3. Uptime

    4. Disks

    5. RAM

  4. The following OpenStack command-line clients are available. (choose all that apply). 

    1. python-keystoneclient

    2. python-hypervisorclient

    3. python-imageclient

    4. python-cinderclient

    5. python-novaclient

  5. To install a client package.  Run this command:

    # pip install [--update] python-project client (True or False)

    1. True

    2. False

  6. To list images.  Run this command:

    $ glance image-list

    1. True

    2. False

  7. When troubleshooting image creation you will need to look at which of the following log files for errors? (choose all that apply). 

    1. Examine the /var/log/nova-api.log

    2. Examine the /var/log/nova-compute.log

    3. Examine the /var/log/nova-error.log

    4. Examine the /var/log/nova-status.log

    5. Examine the /var/log/nova-image.log

  8. To generate a keypair use the following command syntax: $ nova keypair-add --pub_key ~/.ssh/id_rsa.pub KEY_NAME. 

    1. True

    2. False

  9. When you want to launch an instance you can only do that from an image. (True or False). 

    1. True

    2. False

  10. An instance has a Private IP address which has the following properties? (choose all that apply). 

    1. Used for communication between instances

    2. VMware vShpere 4.1, update 1 or greater

    3. Stays the same, even after reboots

    4. Stays allocated, even if you terminate the instance

    5. To see the status of the Private IP addresses you use the following command: $ nova floating-ip-pool-list

  11. To start and stop and instance you can use the following options: (choose all that apply). 

    1. Pause/Un-pause

    2. Suspend/Resume

    3. Reboot

    4. Evacuate

    5. Shutdown/Restart

  12. To create a network in OpenStack use the following command: $ neutron net-create net1 (True or False). 

    1. True

    2. False

  13. Identity Service provides the following functions: (choose all that apply). 

    1. Group policy objects

    2. Message queuing

    3. User management

    4. Publishing

    5. Service catalog

  14. The AMQP supports the following messaging bus options: (choose all that apply). 

    1. ZeroMQ

    2. RabbitMQ

    3. Tibco Rendezvous

    4. IBM WebSphere Message Broker

    5. Qpid

  15. OpenStack uses the term tenant but in earlier versions it used the term customer. (True or False). 

    1. True

    2. False

Associate Training Guide, Controller Node Quiz Answers. 

  1. B (False) - you can manage images through only the glance and nova clients or the Image Service and Compute APIs.

  2. 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

  3. 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

  4. 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)

  5. A (True)

  6. A (True)

  7. A, B

  8. B (False) - $ nova keypair-add KEY_NAME > MY_KEY.pem

  9. B (False) - you can launch and instance from an image or a volume

  10. A, B, C

  11. A, B, C, D

  12. A (True)

  13. C, E

  14. A, B, E

  15. 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.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...