0% found this document useful (0 votes)
10 views11 pages

Quiz 2

The document discusses Kubernetes Engine on Google Cloud and provides details about clusters, nodes, services, and other Kubernetes concepts. It includes questions to test understanding with explanations of correct answers. Key points covered include how clusters and node pools are managed, the components that make up a cluster, and commands to create clusters and services.

Uploaded by

Marlon Moreno
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views11 pages

Quiz 2

The document discusses Kubernetes Engine on Google Cloud and provides details about clusters, nodes, services, and other Kubernetes concepts. It includes questions to test understanding with explanations of correct answers. Key points covered include how clusters and node pools are managed, the components that make up a cluster, and commands to create clusters and services.

Uploaded by

Marlon Moreno
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

4/23/24, 1:56 PM Kubernetes Engine - ACE 24238

Kubernetes Engine - ACE 24238 Total points 10/20

Manages the entire cluster and node infrastructure for you. ________ *1/1
provides a hands-off Kubernetes experience so that you can focus on
your workloads and only pay for the resources required to run your
applications. _______ clusters are pre-configured with an optimized
cluster configuration that is ready for production workloads.

Standard

Autopilot

Advanced

On Premise

You manage the cluster's underlying infrastructure, giving you node *1/1
configuration flexibility.

Standard

Autopilot

Advanced

Flexible

https://docs.google.com/forms/d/e/1FAIpQLSfWI1J9PIcWkV7CEOGuRwGDjO8nLXnmxKHQeA_LSR17pac1wQ/viewscore?viewscore=AE0zAgCrFN… 1/11
4/23/24, 1:56 PM Kubernetes Engine - ACE 24238

Pay per Pod resource requests (CPU, memory, and ephemeral storage) * 0/1

Standard

Autopilot

Advanced

Flexible

Correct answer

Autopilot

The _______ runs the administrative processes, including the Kubernetes *1/1
API server, scheduler, and core resource controllers. The lifecycle of the
________ is managed by GKE when you create or delete a cluster. This
includes upgrades to the Kubernetes version running, which GKE
performs automatically, or manually at your request if you prefer to
upgrade earlier than the automatic schedule.

Pod

Node

Master

Control Plane

https://docs.google.com/forms/d/e/1FAIpQLSfWI1J9PIcWkV7CEOGuRwGDjO8nLXnmxKHQeA_LSR17pac1wQ/viewscore?viewscore=AE0zAgCrFN… 2/11
4/23/24, 1:56 PM Kubernetes Engine - ACE 24238

A cluster typically has one or more ________, which are the worker *1/1
machines that run your containerized applications and other workloads.
The individual machines are Compute Engine VM instances that GKE
creates on your behalf when you create a cluster.

Pods

Containers

Control Planes

Nodes

The from Google node images are based on a recent version of the Linux *0/1
kernel and are optimized to enhance node security. ________ images are
backed by a team at Google that can quickly patch images for security
and iterate on features. The ______ images provides better support,
security, and stability than other images.

Optimized OS

Redhat-Optimized OS

Container-Optimized OS

Container OS

Correct answer

Container-Optimized OS

https://docs.google.com/forms/d/e/1FAIpQLSfWI1J9PIcWkV7CEOGuRwGDjO8nLXnmxKHQeA_LSR17pac1wQ/viewscore?viewscore=AE0zAgCrFN… 3/11
4/23/24, 1:56 PM Kubernetes Engine - ACE 24238

Command to create a one-node Standard cluster named hello-cluster: * 1/1

gcloud container clusters create hello-cluster --num-nodes=1 --


zone=COMPUTE_ZONE

gcloud container clusters create-auto hello-cluster --region=COMPUTE_REGION

gcloud container clusters deploy hello-cluster --num-nodes=1 --


zone=COMPUTE_ZONE

gcloud container clusters deploy-auto hello-cluster --region=COMPUTE_REGION

Command to create a service to allow the access from internet to your *1/1
application:

kubectl expose deployment hello-server --type LoadBalancer --port 80 --target-


port 8080

kubectl create deployment hello-server --image=us-docker.pkg.dev/google-


samples/containers/gke/hello-app:1.0

kubectl get service hello-server

gcloud container clusters get-credentials hello-cluster

https://docs.google.com/forms/d/e/1FAIpQLSfWI1J9PIcWkV7CEOGuRwGDjO8nLXnmxKHQeA_LSR17pac1wQ/viewscore?viewscore=AE0zAgCrFN… 4/11
4/23/24, 1:56 PM Kubernetes Engine - ACE 24238

By default, network egress data is not collected or exported. Measuring *0/1


network egress requires a ________ agent running on each node. The
________ agent runs as a privileged Pod, consumes some resources on
the node (CPU, memory, and disk space), and enables the
nf_conntrack_acct sysctl flag on the kernel (for connection tracking flow
accounting).

Network Advisor

Istio

Prometheus

Network Metering

Correct answer

Network Metering

A development manager is building a new application. He asks you to *1/1


review his requirements and identify what cloud technologies he can use
to meet them. The application must: 1. Be based on open-source
technology for cloud portability 2. Dynamically scale compute capacity
based on demand 3. Support continuous software delivery 4. Run
multiple segregated copies of the same application stack 5. Deploy
application bundles using dynamic templates 6. Route network traffic to
specific services based on URLWhich combination of technologies will
meet all of his requirements?

Google Kubernetes Engine, Jenkins, and Helm

Google Kubernetes Engine and Cloud Load Balancing

Google Kubernetes Engine and Cloud Deployment Manager

Google Kubernetes Engine, Jenkins, and Cloud Load Balancing

https://docs.google.com/forms/d/e/1FAIpQLSfWI1J9PIcWkV7CEOGuRwGDjO8nLXnmxKHQeA_LSR17pac1wQ/viewscore?viewscore=AE0zAgCrFN… 5/11
4/23/24, 1:56 PM Kubernetes Engine - ACE 24238

When you increase the size of a cluster: (Select 2) * 1/1

New node instances are created using the same configuration as the existing
instances

New Pods may be scheduled onto the new instances

Existing Pods are moved onto the new instances

Pods not managed by a replication controller are not restarted

A node's deletion could be prevented if it contains a Pod with any of these *1/1
conditions: (Select 3)

The Pod's affinity or anti-affinity rules prevent rescheduling.

The Pod is not managed by a Controller such as a Deployment, StatefulSet, Job


or ReplicaSet.

When spot instances within the node pool are preempted.

The Pod has the annotation "cluster-autoscaler.kubernetes.io/safe-to-evict":


"false".

A node ________ is a group of nodes within a cluster that all have the *0/1
same configuration.

cluster

pool

array

list

Correct answer

pool

https://docs.google.com/forms/d/e/1FAIpQLSfWI1J9PIcWkV7CEOGuRwGDjO8nLXnmxKHQeA_LSR17pac1wQ/viewscore?viewscore=AE0zAgCrFN… 6/11
4/23/24, 1:56 PM Kubernetes Engine - ACE 24238

Using the Kubernetes Engine API, you cannot apply updates on the node *0/1
labels, and node taints of an existing GKE node pool without needing to
recreate the node pool or disrupt running workloads.

True

False

Correct answer

False

You can use the GKE API to apply and update network tags on your *0/1
Autopilot and Standard clusters without disrupting running workloads.
Network tags that you specify are also applied to any new nodes that
Autopilot provisions, and to new node pools that node auto-provisioning
provisions in your Standard clusters.

True

False

Correct answer

True

https://docs.google.com/forms/d/e/1FAIpQLSfWI1J9PIcWkV7CEOGuRwGDjO8nLXnmxKHQeA_LSR17pac1wQ/viewscore?viewscore=AE0zAgCrFN… 7/11
4/23/24, 1:56 PM Kubernetes Engine - ACE 24238

Best practices for building containers: (Select 3) * 0/1

Package a single app per container

Build the biggest image possible

Properly handle PID 1, signal handling, and zombie processes

Remove unnecessary tools

Try to create images with different layers

Avoid tags for your images

Correct answer

Package a single app per container

Properly handle PID 1, signal handling, and zombie processes

Remove unnecessary tools

The best practices for networking are: (Select 2 options) * 1/1

Allow overlaps with IP addresses used in other environments

Use VPC-native clusters

Use custom subnet mode

Avoid network policies

https://docs.google.com/forms/d/e/1FAIpQLSfWI1J9PIcWkV7CEOGuRwGDjO8nLXnmxKHQeA_LSR17pac1wQ/viewscore?viewscore=AE0zAgCrFN… 8/11
4/23/24, 1:56 PM Kubernetes Engine - ACE 24238

Kubernetes allows allows up to ________ Pods per node * 0/1

64

110

128

256

500

Correct answer

110

Using multi-zonal node pools has certains trade-offs: (select 2) * 0/1

The price of egress traffic between zones is higher than between regions .

They offer lower availability.

GPUs are available only in specific zones. It may not be possible to get them in all
zones in the region.

Round-trip latency between zones within a single region might be higher than
that between resources in a single zone. The difference should be immaterial
for most workloads.

Correct answer

GPUs are available only in specific zones. It may not be possible to get them in all
zones in the region.

Round-trip latency between zones within a single region might be higher than that
between resources in a single zone. The difference should be immaterial for most
workloads.

https://docs.google.com/forms/d/e/1FAIpQLSfWI1J9PIcWkV7CEOGuRwGDjO8nLXnmxKHQeA_LSR17pac1wQ/viewscore?viewscore=AE0zAgCrFN… 9/11
4/23/24, 1:56 PM Kubernetes Engine - ACE 24238

_______ is a platform installed in kubernetes for data scientists who want *0/1
to build and experiment with ML pipelines. ________ is also for ML
engineers and operational teams who want to deploy ML systems to
various environments for development, testing, and production-level
serving.

Jupiter

Kubeflow

Spider

AutoML

Correct answer

Kubeflow

This form was created inside of itseniors. Report Abuse

Forms

https://docs.google.com/forms/d/e/1FAIpQLSfWI1J9PIcWkV7CEOGuRwGDjO8nLXnmxKHQeA_LSR17pac1wQ/viewscore?viewscore=AE0zAgCrF… 10/11
4/23/24, 1:56 PM Kubernetes Engine - ACE 24238

https://docs.google.com/forms/d/e/1FAIpQLSfWI1J9PIcWkV7CEOGuRwGDjO8nLXnmxKHQeA_LSR17pac1wQ/viewscore?viewscore=AE0zAgCrF… 11/11

You might also like