Matt  Beranek
Quiz by , created more than 1 year ago

Quiz on ICCT V3 - Containers, K8s and OpenShift, created by Matt Beranek on 12/10/2021.

21
0
0
No tags specified
Matt  Beranek
Created by Matt Beranek about 5 years ago
Close

ICCT V3 - Containers, K8s and OpenShift

Question 1 of 40

1

Which is a benefit of containers?

Select one of the following:

  • 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

Explanation

Question 2 of 40

1

What is one of the reasons that containers are considered a better option than virtual machines?

Select one of the following:

  • 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

Explanation

Question 3 of 40

1

Which of the following defines a read-only file that holds code, libraries, and dependencies required by an application to run?

Select one of the following:

  • A container image

  • Dockerfile

  • a container

  • Kubernetes

Explanation

Question 4 of 40

1

Which of the following is true regarding containers?

Select one of the following:

  • Containers need special hardware

  • Containers do not require a guest OS

  • Containers do not require user applications

  • Containers mean application libraries are not required

Explanation

Question 5 of 40

1

What are the OS primitives that enable virtualization in the Linux Kernel?

Select one of the following:

  • Syscalls and cgroups

  • Namespace and syscalls

  • projects and cgroups

  • namespace and cgroups

Explanation

Question 6 of 40

1

Physical hardware is traditionally virtualized by which of the following?

Select one of the following:

  • Kubernetes

  • Containers

  • Namespaces

  • Hypervisors

Explanation

Question 7 of 40

1

Which of the following is a platform used for container orchestration?

Select one of the following:

  • OpenStack

  • Kubernetes

  • Docker

  • Ansible

Explanation

Question 8 of 40

1

What is an important different between containers and virtual machines?

Select one of the following:

  • 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

Explanation

Question 9 of 40

1

What is a Docker file?

Select one of the following:

  • 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

Explanation

Question 10 of 40

1

Which of the following is considered immutable?

Select one of the following:

  • Image

  • Container

  • Docker

  • Node

Explanation

Question 11 of 40

1

Resizing a VM to add additional capacity is part of which of the following?

Select one of the following:

  • Vertical scaling

  • Horizontal scaling

  • Hardware Virtualization

  • System rationalization

  • Containers

Explanation

Question 12 of 40

1

Adding more VMs to a cluster to increast capacity is which of these?

Select one of the following:

  • Scale distinctively

  • Scale proportionally

  • Scale under

  • Scale out

Explanation

Question 13 of 40

1

Replicating a Pod serves to scale an application in which of the following ways?

Select one of the following:

  • Horizontally

  • Vertically

  • Upward

  • Downward

Explanation

Question 14 of 40

1

Which of the following statements describes Kubernetes?

Select one of the following:

  • Open Source software

  • Container orchestration platform

  • A tool that facilitates declarative management

  • All of the above

Explanation

Question 15 of 40

1

Which of the following components is part of the K8s control plane?

Select one of the following:

  • The worker nodes

  • The Kubelet

  • etcd

  • The K8s network proxy

Explanation

Question 16 of 40

1

Which of the following is considered a K8s object?

Select one of the following:

  • Kubelet

  • Cluster

  • Namespace

  • Directory

Explanation

Question 17 of 40

1

Which K8s object represents a single instance of processes running in a container?

Select one of the following:

  • Cluster

  • Deployment

  • Kubelet

  • Pod

Explanation

Question 18 of 40

1

What does "create" do in this command?

kubectl create -f nginx.yaml

Select one of the following:

  • 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

Explanation

Question 19 of 40

1

What are some of the benefits of an IKS service ? Select all that apple

Select one of the following:

  • Image security compliance with Vulnerability Advisor

  • Support for multizone clusters

  • Continuous monitoring of the cluster health

  • Highly available masters

  • All the above

Explanation

Question 20 of 40

1

Each node is made up of which of the following pairs?

Select one of the following:

  • kube-controller manager and kube-proxy

  • kube-proxy and kube-api-server

  • kube-proxy and kubelet

  • kubelet and etcd

Explanation

Question 21 of 40

1

What occurs if the Cluster Autoscaler detects pending pods?

Select one of the following:

  • 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

Explanation

Question 22 of 40

1

In Kubernetes, which of the following is responsible for scaling out?

Select one of the following:

  • DaemonSet

  • Horizontal Pod Autoscaler

  • Cloud controller manager

  • Kube-scheduler

Explanation

Question 23 of 40

1

What will occur in the Horizontal Pod Autoscaler if utilization is higher than specified?

Select one of the following:

  • 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

Explanation

Question 24 of 40

1

What happens if work nodes are under-utilized?

Select one of the following:

  • 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.

Explanation

Question 25 of 40

1

The Horizontal Pod Autoscaler monitors which of the following?

Select one of the following:

  • Worker node count

  • CPU utilization

  • Network latency

  • Cluster efficiency

Explanation

Question 26 of 40

1

Which of the following Kubernetes objects are used to store and manage sensitive information?

Select one of the following:

  • Service bindings

  • ConfigMaps

  • Secrets

  • Replica Sets

Explanation

Question 27 of 40

1

Which of the following can be used to create ConfigMaps?

Select one of the following:

  • The kubectl add configmap command

  • A file with key-value pairs

  • Service bindings

  • Horizontal Pad Autoscaler

Explanation

Question 28 of 40

1

ReplicaSets enable users to scale applications by running duplicate ______ ?

Select one of the following:

  • Pods

  • Persistent Volume

  • Clusters

  • Configurations

Explanation

Question 29 of 40

1

ConfigMaps and secrets are used to store ______ and ________ .

Select one of the following:

  • Configurations, credentials

  • Code, program parameters

  • Logs, authentication

  • yaml files, logs

Explanation

Question 30 of 40

1

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?

Select one of the following:

  • Configure changes

  • Scale up changes

  • Scale down changes

  • Roll back changes

Explanation

Question 31 of 40

1

Red Hat OpenShift offers an integrated container registry by default as opposed to that of a K8s cluster.

Select one of the following:

  • True
  • False

Explanation

Question 32 of 40

1

OperatorHub is included in which of the following consoles?

Select one of the following:

  • Docker

  • OpenShift

  • IBM Console

  • Kubernetes

Explanation

Question 33 of 40

1

Red Hat OpenShift on IBM Cloud is which type of service?

Select one of the following:

  • Operational

  • Managed

  • Closed

  • Forbidden

Explanation

Question 34 of 40

1

Cloud native applications are small, _______ , loosely coupled services.

Select one of the following:

  • Symbiotic

  • Reliable

  • Interdependent

  • Independent

Explanation

Question 35 of 40

1

Which of the following most accurately describes the relationship between Red Hat OpenShift and Kubernetes?

Select one of the following:

  • 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

Explanation

Question 36 of 40

1

Which of the following is a Red Hat OpenShift Build trigger ?

Select one of the following:

  • Source-to-image

  • Docker build

  • Webhook

  • Kube-build

Explanation

Question 37 of 40

1

Which of the following are operators available in OperatorHub within the OpenShift console? Select all that apply

Select one of the following:

  • Red Hat

  • Certified

  • Community

  • Controller

Explanation

Question 38 of 40

1

Image Streams can point to images in which of the following locations?

Select one of the following:

  • Public external registries

  • Red Hat OpenShift internal registry

  • Private external registries

  • K8s cluster

Explanation

Question 39 of 40

1

Red Hat OpenShift can be run in which of the following environments? Select all that apply!

Select one of the following:

  • Public cloud

  • Private Cloud

  • On prem

  • Hybrid cloud

Explanation

Question 40 of 40

1

What is the upstream version of Red Hat OpenShift called?

Select one of the following:

  • OKD

  • K8s open source

  • CRD

  • Enterprise Linux CoreOS

Explanation