ICCT V3 - Containers, K8s and OpenShift

Description

Quiz on ICCT V3 - Containers, K8s and OpenShift, created by Matt Beranek on 12/10/2021.
Matt  Beranek
Quiz by Matt Beranek , updated more than 1 year ago
Matt  Beranek
Created by Matt Beranek about 5 years ago
21
0

Resource summary

Question 1

Question
Which is a benefit of containers?
Answer
  • Each container runs its own operating system
  • They supply portability between different platforms and clouds
  • Like virtual machines, containers virtualize an infrastructure.
  • Each container is fully isolated and therefore secure

Question 2

Question
What is one of the reasons that containers are considered a better option than virtual machines?
Answer
  • Containers include a guest operating system in every instance
  • Containers are fully isolated
  • Containers are small and do not consume as many resources
  • Containers are an orchestration platform

Question 3

Question
Which of the following defines a read-only file that holds code, libraries, and dependencies required by an application to run?
Answer
  • A container image
  • Dockerfile
  • a container
  • Kubernetes

Question 4

Question
Which of the following is true regarding containers?
Answer
  • Containers need special hardware
  • Containers do not require a guest OS
  • Containers do not require user applications
  • Containers mean application libraries are not required

Question 5

Question
What are the OS primitives that enable virtualization in the Linux Kernel?
Answer
  • Syscalls and cgroups
  • Namespace and syscalls
  • projects and cgroups
  • namespace and cgroups

Question 6

Question
Physical hardware is traditionally virtualized by which of the following?
Answer
  • Kubernetes
  • Containers
  • Namespaces
  • Hypervisors

Question 7

Question
Which of the following is a platform used for container orchestration?
Answer
  • OpenStack
  • Kubernetes
  • Docker
  • Ansible

Question 8

Question
What is an important different between containers and virtual machines?
Answer
  • Containers virtualize hardware and VMs virtualize the OS
  • Containers virtualize the OS and VMs vitualize the hardware
  • Containers virtualize the OS and VMs virtualize the registry
  • VMs virtualize the hardware and Continers virtualize the registry

Question 9

Question
What is a Docker file?
Answer
  • A blueprint that contains the source code, libraries, and dependencies necessary for an application to run
  • An open-source community that develops container technologies
  • A text file that contains project and configuration information for Maven
  • A container runtime, or software that executes containers

Question 10

Question
Which of the following is considered immutable?
Answer
  • Image
  • Container
  • Docker
  • Node

Question 11

Question
Resizing a VM to add additional capacity is part of which of the following?
Answer
  • Vertical scaling
  • Horizontal scaling
  • Hardware Virtualization
  • System rationalization
  • Containers

Question 12

Question
Adding more VMs to a cluster to increast capacity is which of these?
Answer
  • Scale distinctively
  • Scale proportionally
  • Scale under
  • Scale out

Question 13

Question
Replicating a Pod serves to scale an application in which of the following ways?
Answer
  • Horizontally
  • Vertically
  • Upward
  • Downward

Question 14

Question
Which of the following statements describes Kubernetes?
Answer
  • Open Source software
  • Container orchestration platform
  • A tool that facilitates declarative management
  • All of the above

Question 15

Question
Which of the following components is part of the K8s control plane?
Answer
  • The worker nodes
  • The Kubelet
  • etcd
  • The K8s network proxy

Question 16

Question
Which of the following is considered a K8s object?
Answer
  • Kubelet
  • Cluster
  • Namespace
  • Directory

Question 17

Question
Which K8s object represents a single instance of processes running in a container?
Answer
  • Cluster
  • Deployment
  • Kubelet
  • Pod

Question 18

Question
What does "create" do in this command? kubectl create -f nginx.yaml
Answer
  • It creates a YAML file named nginx.yaml
  • It creates an object using the details in the nginx.yaml file
  • It creates a new cluster using the details in the inginx.yaml file
  • It creates a configuration file for an nginx web server

Question 19

Question
What are some of the benefits of an IKS service ? Select all that apple
Answer
  • Image security compliance with Vulnerability Advisor
  • Support for multizone clusters
  • Continuous monitoring of the cluster health
  • Highly available masters
  • All the above

Question 20

Question
Each node is made up of which of the following pairs?
Answer
  • kube-controller manager and kube-proxy
  • kube-proxy and kube-api-server
  • kube-proxy and kubelet
  • kubelet and etcd

Question 21

Question
What occurs if the Cluster Autoscaler detects pending pods?
Answer
  • The Autoscaler deploys additional clusters
  • The Autoscaler scales up more worker nodes
  • The Autoscaler shuts down the oldest pod to make room for the pending pod
  • The Autoscaler adds additional resources to existing pods to handle the workload

Question 22

Question
In Kubernetes, which of the following is responsible for scaling out?
Answer
  • DaemonSet
  • Horizontal Pod Autoscaler
  • Cloud controller manager
  • Kube-scheduler

Question 23

Question
What will occur in the Horizontal Pod Autoscaler if utilization is higher than specified?
Answer
  • Additional resources will be added to the cluster
  • More pods will be created
  • More worker nodes will be created
  • The Autoscaler will tell the controller to limit requests until normal again

Question 24

Question
What happens if work nodes are under-utilized?
Answer
  • The cluster Autoscaler scales down worker nodes one at a time
  • The cluster Autoscaler adds pods to the worker nodes until they are full
  • The cluster Autoscaler terminates pods that arent currently servicing requests
  • The cluster Autoscaler waits until this situation is detected again before acting.

Question 25

Question
The Horizontal Pod Autoscaler monitors which of the following?
Answer
  • Worker node count
  • CPU utilization
  • Network latency
  • Cluster efficiency

Question 26

Question
Which of the following Kubernetes objects are used to store and manage sensitive information?
Answer
  • Service bindings
  • ConfigMaps
  • Secrets
  • Replica Sets

Question 27

Question
Which of the following can be used to create ConfigMaps?
Answer
  • The kubectl add configmap command
  • A file with key-value pairs
  • Service bindings
  • Horizontal Pad Autoscaler

Question 28

Question
ReplicaSets enable users to scale applications by running duplicate ______ ?
Answer
  • Pods
  • Persistent Volume
  • Clusters
  • Configurations

Question 29

Question
ConfigMaps and secrets are used to store ______ and ________ .
Answer
  • Configurations, credentials
  • Code, program parameters
  • Logs, authentication
  • yaml files, logs

Question 30

Question
Rolling updates provide a way to publish changes to apps without noticeable interruptions for the end user. Which of the following is another feature of rolling updates?
Answer
  • Configure changes
  • Scale up changes
  • Scale down changes
  • Roll back changes

Question 31

Question
Red Hat OpenShift offers an integrated container registry by default as opposed to that of a K8s cluster.
Answer
  • True
  • False

Question 32

Question
OperatorHub is included in which of the following consoles?
Answer
  • Docker
  • OpenShift
  • IBM Console
  • Kubernetes

Question 33

Question
Red Hat OpenShift on IBM Cloud is which type of service?
Answer
  • Operational
  • Managed
  • Closed
  • Forbidden

Question 34

Question
Cloud native applications are small, _______ , loosely coupled services.
Answer
  • Symbiotic
  • Reliable
  • Interdependent
  • Independent

Question 35

Question
Which of the following most accurately describes the relationship between Red Hat OpenShift and Kubernetes?
Answer
  • Red Hat OpenShift packages K8s with additional tooling to make developers and administrators more productive.
  • Red Hat OpenShift is a tool in the K8s ecosystem that can be used in conjunction with K8s to deploy cloud-native apps.
  • Red Hat OpenShift can be deployed on a K8s cluster to provide additional tooling such as logging, monitoring, and CI/CD.
  • Red Hat OpenShift plugs into K8s through custom resource definitions to provide build and other capabilities

Question 36

Question
Which of the following is a Red Hat OpenShift Build trigger ?
Answer
  • Source-to-image
  • Docker build
  • Webhook
  • Kube-build

Question 37

Question
Which of the following are operators available in OperatorHub within the OpenShift console? Select all that apply
Answer
  • Red Hat
  • Certified
  • Community
  • Controller

Question 38

Question
Image Streams can point to images in which of the following locations?
Answer
  • Public external registries
  • Red Hat OpenShift internal registry
  • Private external registries
  • K8s cluster

Question 39

Question
Red Hat OpenShift can be run in which of the following environments? Select all that apply!
Answer
  • Public cloud
  • Private Cloud
  • On prem
  • Hybrid cloud

Question 40

Question
What is the upstream version of Red Hat OpenShift called?
Answer
  • OKD
  • K8s open source
  • CRD
  • Enterprise Linux CoreOS
Show full summary Hide full summary

Similar