Bookmark this page

Quiz: Red Hat OpenShift Templates

Red Hat OpenShift Templates

Choose the correct answers to the following questions:


  1. 1.

    What is the purpose of a Red Hat OpenShift template?

    A

    To describe the resource configuration for a single container.

    B

    To define a set of Kubernetes and OpenShift resources for reuse.

    C

    To provide custom configurations for an OpenShift cluster.

    D

    To customize the appearance of the web console.

  2. 2.

    Which two of the following approaches define a template parameter as optional? (Choose two.)

    A

    Set the required attribute to false.

    B

    Set the required attribute to not.

    C

    Omit the required attribute.

    D

    Set the required attribute to expression.

    E

    Set the from attribute to a regular expression.

  3. 3.

    Which of the following commands processes a template without creating the resources in OpenShift?

    A

    oc export.

    B

    oc new-app.

    C

    oc create.

    D

    oc process.

    E

    None of the above.

  4. 4.

    Which three statements describe valid locations to insert a reference to a template parameter? (Choose three.)

    A

    As the key for a label in all resources created by the template.

    B

    As the value for the host attribute in a route resource.

    C

    As the value for an annotation in the template.

    D

    As the value of an environment variable inside a pod resource.

Revision: do288-4.12-0d49506