Timedora
Free Practice Quiz Question List

Kubernetes Workloads, Networking, and Operations Online Quiz Questions

Use this free practice quiz with 10 questions to review Kubernetes Workloads, Networking, and Operations, test your knowledge, and prepare for your next test or exam.

10 questions
01
Choose one
1 point

In a Kubernetes API object, what is the distinction between spec and status?

  1. A

    The spec reports observed information; status declares the desired state.

  2. B

    The spec describes desired state; status reports observed information.

  3. C

    Both spec and status describe only desired state.

  4. D

    Both spec and status describe only observed information.

02
Choose one
1 point

A Deployment requests three replicas, but only two Pods exist. Which sequence describes how Kubernetes works toward the requested state?

  1. A

    The scheduler creates the missing Pod, then etcd starts its containers.

  2. B

    The kubelet creates the missing Pod, then the controller manager assigns it to a node.

  3. C

    The Deployment controller creates the missing Pod, the scheduler assigns it to a node, and the kubelet works with the runtime to start its containers.

  4. D

    The API server creates the missing Pod and starts its containers directly.

03
Choose one
1 point

An application needs a stable Service endpoint for internal communication with another workload in the same cluster. Which Service type is the default option for this use?

  1. A

    ClusterIP

  2. B

    NodePort

  3. C

    ExternalName

  4. D

    LoadBalancer

04
Choose one
1 point

After an image update, a Deployment’s new Pods appear unhealthy. What is the most appropriate operational response?

  1. A

    Delete all ReplicaSets immediately, then create individual Pods to replace them.

  2. B

    Change the Service selector to force the Deployment to restart its Pods.

  3. C

    Assume the update succeeded once the new ReplicaSet exists, without checking Pod status.

  4. D

    Inspect the rollout and Pod events; then decide whether to revise the change or roll it back.

05
Choose one
1 point

Which statement correctly describes a Pod’s network identity and what can happen when a controller replaces a lost Pod?

  1. A

    Containers in a Pod share a network identity, and a replacement Pod must retain the lost Pod’s IP address.

  2. B

    Containers in a Pod share a network identity, and a replacement Pod may have a different IP address.

  3. C

    Containers in a Pod each have a separate network identity, but replacement Pods keep the same IP address.

  4. D

    Containers in a Pod share storage only; they cannot communicate with each other over localhost.

06
Choose one
1 point

A team needs a node-local monitoring agent to run as a Pod on every eligible node. Which workload resource is the best fit?

  1. A

    A Job

  2. B

    A Deployment

  3. C

    A DaemonSet

  4. D

    A CronJob

07
Choose one
1 point

What is the difference between readiness and liveness probes?

  1. A

    Readiness affects whether the Pod is considered ready for Service traffic; liveness helps detect a container that should be restarted.

  2. B

    Readiness detects containers that should be restarted; liveness determines whether the Pod receives Service traffic.

  3. C

    Both probes determine whether a Pod is scheduled to a node.

  4. D

    Readiness controls resource limits; liveness assigns the Pod a Service endpoint.

08
Choose one
1 point

Which statement distinguishes a Service from Ingress or a gateway layer?

  1. A

    A Service defines external HTTP routing, while Ingress provides a stable endpoint for changing Pod sets.

  2. B

    A Service and Ingress are interchangeable ways to identify the same backend endpoint.

  3. C

    Ingress replaces the need for a Service because it selects Pods directly.

  4. D

    A Service identifies a backend endpoint, while Ingress or a gateway layer handles external routing.

09
Choose one
1 point

When configuring a container, how do resource requests differ from resource limits?

  1. A

    Requests constrain resource use; limits inform the scheduler’s node choice.

  2. B

    Requests inform the scheduler’s node choice; limits constrain resource use.

  3. C

    Both requests and limits are used only to choose a node.

  4. D

    Both requests and limits constrain resource use in the same way.

10
Choose one
1 point

What is required to implement the HTTP or HTTPS routing rules defined by an Ingress resource?

  1. A

    A DNS record that matches the Ingress name

  2. B

    A Service selector that matches the external client

  3. C

    An Ingress controller

  4. D

    A Deployment with a matching ReplicaSet