set2

set2

9th - 12th Grade

50 Qs

quiz-placeholder

Similar activities

PTS AIJ XI TKJ | 2022/2023

PTS AIJ XI TKJ | 2022/2023

11th Grade

45 Qs

Unit 3 - Introduction to Algorithms Review

Unit 3 - Introduction to Algorithms Review

9th - 12th Grade

45 Qs

File types

File types

10th Grade

50 Qs

INFORMATIKA

INFORMATIKA

10th Grade

50 Qs

PTS INFORMATIKA

PTS INFORMATIKA

10th Grade

52 Qs

TJKN - Kabel

TJKN - Kabel

11th Grade

50 Qs

LATIHAN SOAL_PSAS_XI_INF

LATIHAN SOAL_PSAS_XI_INF

11th Grade - University

48 Qs

Latihan Ulangan Semester 1 kelas 9

Latihan Ulangan Semester 1 kelas 9

7th Grade - University

50 Qs

set2

set2

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Oyekan Wahab

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which architectural component ensures that the actual state of cluster resources converges towards the desired state defined in their specifications?

kube-apiserver
kube-scheduler
Controllers (within kube-controller-manager)
kubelet
etcd

Answer explanation

Controllers implement reconciliation loops. They watch the desired state via the API server and interact with resources to make the current state match the desired state (e.g., ReplicaSet controller ensuring the right number of Pods exist).

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A Pod specification includes two containers: one web server and one log shipper. How do these containers communicate efficiently over the network within the Pod?

Via a Kubernetes Service
Via the node's primary IP address
Via localhost and shared network namespace
Via an automatically created NetworkPolicy
Via distinct Pod IP addresses assigned to each container

Answer explanation

Containers within the same Pod share the same network namespace, meaning they can communicate using localhost and standard inter-process communication mechanisms as if they were on the same machine.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the primary role of kubelet on a worker node?

To schedule Pods onto the node
To store the state of Pods running on the node
To ensure containers described in PodSpecs assigned to its node are running
To manage network routing rules for Services
To authenticate API requests originating from the node

Answer explanation

The kubelet is the primary node agent. It receives PodSpecs from the API server and interacts with the container runtime (e.g., containerd) to start, stop, and manage the containers defined in those Pods, reporting their status back to the control plane.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which Kubernetes resource provides a mechanism for grouping API objects and providing a scope for names?

Label
Annotation
Namespace
Deployment
ServiceAccount

Answer explanation

Namespaces create logical partitions within a cluster, allowing teams or applications to operate independently. Resource names must be unique within a Namespace, but not necessarily across the entire cluster.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When interacting with the Kubernetes API server using kubectl, what is the typical format used for defining resource manifests?

JSON
XML
YAML
Protocol Buffers
Plain Text

Answer explanation

While the API server can accept JSON, YAML is the overwhelmingly conventional and human-readable format used in configuration files (manifests) passed to kubectl for creating or updating resources.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What core Kubernetes concept allows Deployments to perform rolling updates with zero downtime?

Managing StatefulSets
Utilizing PersistentVolumes
Incrementally replacing Pods managed by ReplicaSets
Direct communication with the kube-scheduler
Modifying NetworkPolicy rules dynamically

Answer explanation

Deployments manage ReplicaSets. During a rolling update, a Deployment creates a new ReplicaSet with the updated Pod template and gradually scales it up while scaling down the old ReplicaSet, ensuring service availability throughout the process.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which component is responsible for making the ultimate decision about which node a newly created Pod should run on?

kubelet
kube-apiserver
kube-scheduler
kube-controller-manager
The Pod's ServiceAccount

Answer explanation

The kube-scheduler watches for Pods without an assigned node and selects the most suitable node based on filtering (resource requests, affinity rules, etc.) and scoring algorithms.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?