Bookmark this page

Quiz: Pod Scheduling Scenarios

Pod Scheduling Scenarios

Choose the correct answers to the following questions:


  1. 1.

    One of your applications needs at least two pods to be running on nodes, even in the event of a disruption. Which option would ensure that at least two pods are always running even in the event of a disruption?

    A

    Set the minAvailable parameter to 100%, to ensure that the application is always available.

    B

    Set the maxUnavailable parameter to 0, to ensure that the application is always available.

    C

    Set the minAvailable parameter to 2, to ensure that at least two pods are always running.

    D

    Set the maxUnavailable parameter to 2, to ensure that at least two pods are always running.

  2. 2.

    Your company needs you to ensure that a workload runs on a group of GPU-enabled nodes. The workload must avoid downtime in the event of missing a node, and must also accept degradation during a cluster update. Which set of advanced scheduling features would ensure these requirements?

    A

    Taints and tolerations, node affinity rules, and pod affinity rules

    B

    Node selectors, taints and tolerations, and node affinity rules

    C

    Node selectors, a pod disruption budget, and pod anti-affinity rules

    D

    Node selectors, a pod disruption budget, and pod affinity rules

  3. 3.

    You have a multi-tier application that consists of web, application, and database components. You must distribute the web and application components across multiple nodes for high availability. You must place the database component on specific nodes with high I/O capacity. Which set of advanced scheduling features would ensure these requirements?

    A

    Pod anti-affinity rules for the web and application pods, and node selectors for the database pods.

    B

    Pod affinity rules for the web and application pods, and pod anti-affinity rules for the database pods.

    C

    Node affinity rules for the web pods, pod affinity rules for the application pods, and node selectors for the database pods.

    D

    Node selectors for the web pods, node affinity rules for the application pods, and pod affinity rules for the database pods.

  4. 4.

    You have GPU-enabled nodes in your cluster. Your company needs you to optimize scheduling the training workloads of a machine learning model, which requires GPU-enabled nodes. Moreover, as these workloads require resource-intensive calculations, you must distribute the pods across multiple nodes. Which set of advanced scheduling features would ensure these requirements?

    A

    Node selectors, and taints and tolerations

    B

    Node selectors and pod affinity rules

    C

    Node affinity rules, and taints and tolerations

    D

    Node affinity rules and pod anti-affinity rules

Revision: do380-4.14-397a507