0% found this document useful (0 votes)
50 views

2.4 Containers & Kubernetes Essentials (Badge IBM)

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)
50 views

2.4 Containers & Kubernetes Essentials (Badge IBM)

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/ 12

30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class

Ver esta página em: Português Traduzir Opções ▼


You are taking "Final Exam" as a timed exam. The timer on
the right shows the time remaining in the exam. To receive
credit for problems, you must select "Submit" for each
problem before you select "End My Exam". Show Less
Finalizar Minha Avaliação 0:34:19 

Curso  Final E…  Final E…  Final E…

Final Exam
Question 1
1/1 point (graded)
What does the Docker CLI build command do?

It builds an image from a Dockerfile.

It builds a microservice that will run in an image.

It builds a Dockerfile.

It builds a new container.

It builds a new cluster.

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

Question 2
1/1 point (graded)
In this sample Dockerfile, what does the FROM instruction do?

FROM alpine:3.9

COPY . /app

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a764… 1/12
30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class

RUN make /app


You are taking "Final Exam" as a timed exam. The timer on
the python
CMD right shows the time remaining in the exam. To receive
/app/app.py
credit for problems, you must select "Submit" for each
problem before you select "End My Exam". Show Less
Finalizar Minha Avaliação 0:34:19 
It defines the base image, which in this case is Alpine version 3.9.

It defines the virtualized host operating system on which the container will run.

It defines the minimum version of the operating system for the docker build
command to use.

It defines the operating system on which the docker build command must be run.

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

Question 3
1/1 point (graded)
Containers include a guest operating system in every instance.

True

False

Enviar You have used 1 of 1 attempt

 Correct (1/1 point)

Question 4
1/1 point (graded)
In this sample docker build command, what does the -t option do?
docker build -t my-app:v1 .

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a764… 2/12
30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class
y pp

You are taking "Final Exam" as a timed exam. The timer on


the right shows the time remaining in the exam. To receive
credit for problems,
It gives you the
the image mustname
select“my-app”
"Submit" for
andeach
the tag “v1”.
problem before you select "End My Exam". Show Less
Finalizar Minha Avaliação 0:34:19 
It indicates that the files used to build the image are located in the current working
directory.

It indicates that the version “v1” of “my-app” should be used when building the
image.

It tags the current working directory as the target location for the image being
built.

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

Question 5
1/1 point (graded)
You use the docker push command to distribute an image to a registry.

True

False

Enviar You have used 1 of 1 attempt

 Correct (1/1 point)

Question 6
1/1 point (graded)

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a764… 3/12
30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class

You are taking "Final Exam" as a timed exam. The timer on


the right
Which shows the timestatements
remaining indescribes
the exam. To receive
creditof
forthe following
problems, you must select "Submit" forwhat
each Kubernetes is? Select all that apply.
problem before you select "End My Exam". Show Less
An all-inclusive platform as a service (PaaS).Finalizar Minha Avaliação 0:34:19 

A service for building source code.

A continuous delivery pipeline.

A solution for sharing and storing images.

A container orchestration platform.

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

Question 7
1/1 point (graded)
Which of the following are container runtimes? Select all that apply.

Docker

Rocket Ship

CRI-O

DRunner

Kubelet

Enviar You have used 1 of 2 attempts

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a764… 4/12
30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class

You are taking "Final Exam" as a timed exam. The timer on


the right shows the time remaining in the exam. To receive
credit for problems, you must select "Submit" for each
 Correct
problem (1/1you
before point)
select "End My Exam". Show Less
Finalizar Minha Avaliação 0:34:19 

Question 8
1/1 point (graded)
Which of the following Kubernetes objects can you use to segregate a cluster by team or
project?

Namespaces

ConfigMaps

Kubernetes controllers

Volumes

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

Question 9
1/1 point (graded)
Which Kubernetes object provides updates to Pods and ReplicaSets?

Deployment

ConfigMap

Secret

Patch

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a764… 5/12
30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class

You have
You areused
taking1 "Final
of 2 attempts
Exam" as a timed exam. The timer on
the right shows the time remaining in the exam. To receive
credit
Enviarfor problems, you must select "Submit" for each
problem before you select "End My Exam". Show Less
Finalizar Minha Avaliação 0:34:19 

 Correct (1/1 point)

Question 10
1/1 point (graded)
In this sample kubectl command, what does create do?
kubectl create -f pod.json

It creates a JSON file named pod.json.

It creates an object using the details in the pod.json file.

It creates a new cluster using the details in the pod.json file.

It creates a file that contains the configuration for a Kubernetes Pod.

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

Question 11
1/1 point (graded)
How are ReplicaSets often created?

One is automatically created for you when you create a Ddeployment.

Using the kubectl create replicaset command.

By adding a ReplicaSet: on flag to the deployment’s configuration file.

By Adding a ReplicaSet: on flag to the Dockerfile used to build the container image.

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a764… 6/12
30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class

You are taking "Final Exam" as a timed exam. The timer on


the right shows the time remaining in the exam. To receive

credit for problems, you must select "Submit" for each
problem before you select "End My Exam". Show Less
You have used 1 of 2 attempts Finalizar Minha Avaliação 0:34:19 
Enviar

 Correct (1/1 point)

Question 12
1/1 point (graded)
Which of the following Kubernetes objects are used to run applications? Select all that
apply.

Plugins

ConfigMaps

ResourceSets

Service bindings

Deployments

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

Question 13
1/1 point (graded)
Which of the following are used to provide ConfigMaps to Pods and Deployments? Select
all that apply.

String literals

YAML fi i fil

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a764… 7/12
30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class
YAML configuration files
You are taking "Final Exam" as a timed exam. The timer on
the right shows the time remaining in the exam. To receive
credit for problems,
Container you must select "Submit" for each
runtimes
problem before you select "End My Exam". Show Less
Finalizar Minha Avaliação 0:34:19 
Service bindings

Kubernetes schedulers

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

Question 14
1/1 point (graded)
What Kubernetes capabilities enable an application to increase the number of Pods based
on traffic? Select all that apply.

Service binding

Horizontal Pod Autoscaler

kubectl autoscale command

Kubernetes traffic router

kubectl scale command

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

Question 15

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a764… 8/12
30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class

1/1You
point
are(graded)
taking "Final Exam" as a timed exam. The timer on
What doesshows
the right the following command
the time remaining do?exam. To receive
in the
creditget
kubectl forsecrets
problems, you must select "Submit" for each
--namespace=default
problem before you select "End My Exam". Show Less
Finalizar Minha Avaliação 0:34:19 
Retrieves the secrets in the “default” namespace.

Retrieves the IBM Cloud IAM API key for your Kubernetes cluster.

Retrieves the binding.password values for the services bound to your Kubernetes
cluster.

Retrieves all the Secrets in your Kubernetes cluster.

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

Question 16
1/1 point (graded)
What is the Istio service mesh used for? Select all that apply.

Control the flow of traffic between services.

Secure communication between services.

Encrypt Kubernetes secrets.

Observe and monitor services.

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a764… 9/12
30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class

You are taking "Final Exam" as a timed exam. The timer on


the right shows the time remaining in the exam. To receive
Question 17 you must select "Submit" for each
credit for problems,
problem before you select "End My Exam". Show Less
1/1 point (graded) Finalizar Minha Avaliação 0:34:19 
Kubernetes is the sole project hosted by the CNCF.

True

False

Enviar You have used 1 of 1 attempt

 Correct (1/1 point)

Question 18
1/1 point (graded)
OpenShift can be run in which of the following environments? Select all that apply.

On premise

Public cloud

Private cloud

Hybrid cloud

Enviar You have used 2 of 2 attempts

 Correct (1/1 point)

Question 19
1/1 point (graded)

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a76… 10/12
30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class

You are taking "Final Exam" as a timed exam. The timer on


the right
What theshows
is for openthe time remaining
source upstream in version
the exam.ofTo receive called?
OpenShift
credit problems, you must select "Submit" for each
problem before you select "End My Exam". Show Less
OKD Finalizar Minha Avaliação 0:34:19 

Kubernetes open source

Istio

CRD

Red Hat Enterprise Linux CoreOS

Enviar You have used 1 of 2 attempts

 Correct (1/1 point)

Question 20
1/1 point (graded)
Which of the following build strategies injects application source code into builder images
without having to write a Dockerfile?

Docker

Source-to-image

Custom build

Image stream

Webhook

Enviar You have used 1 of 2 attempts

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a76… 11/12
30/09/2021 22:16 Final Exam | Final Exam | Material didático CC0201EN | Cognitive Class

You are taking "Final Exam" as a timed exam. The timer on


the right shows the time remaining in the exam. To receive
credit for problems, you must select "Submit" for each
 Correct
problem (1/1you
before point)
select "End My Exam". Show Less
Finalizar Minha Avaliação 0:34:19 

Question 21
1/1 point (graded)
Image streams contain complete image data.

True

False

Enviar You have used 1 of 1 attempt

 Correct (1/1 point)

END OF FINAL EXAM

https://courses.cognitiveclass.ai/courses/course-v1:IBMDeveloperSkillsNetwork+CC0201EN+2020_T2/courseware/59588ad7e0a84a39b30a76… 12/12

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy