ICCT V3 - Containers, K8s and OpenShift

Beschreibung

Quiz am ICCT V3 - Containers, K8s and OpenShift, erstellt von Matt Beranek am 12/10/2021.
Matt  Beranek
Quiz von Matt Beranek , aktualisiert more than 1 year ago
Matt  Beranek
Erstellt von Matt Beranek vor etwa 5 Jahre
21
0

Zusammenfassung der Ressource

Frage 1

Frage
Which is a benefit of containers?
Antworten
  • 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

Frage 2

Frage
What is one of the reasons that containers are considered a better option than virtual machines?
Antworten
  • 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

Frage 3

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

Frage 4

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

Frage 5

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

Frage 6

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

Frage 7

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

Frage 8

Frage
What is an important different between containers and virtual machines?
Antworten
  • 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

Frage 9

Frage
What is a Docker file?
Antworten
  • 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

Frage 10

Frage
Which of the following is considered immutable?
Antworten
  • Image
  • Container
  • Docker
  • Node

Frage 11

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

Frage 12

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

Frage 13

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

Frage 14

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

Frage 15

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

Frage 16

Frage
Which of the following is considered a K8s object?
Antworten
  • Kubelet
  • Cluster
  • Namespace
  • Directory

Frage 17

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

Frage 18

Frage
What does "create" do in this command? kubectl create -f nginx.yaml
Antworten
  • 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

Frage 19

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

Frage 20

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

Frage 21

Frage
What occurs if the Cluster Autoscaler detects pending pods?
Antworten
  • 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

Frage 22

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

Frage 23

Frage
What will occur in the Horizontal Pod Autoscaler if utilization is higher than specified?
Antworten
  • 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

Frage 24

Frage
What happens if work nodes are under-utilized?
Antworten
  • 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.

Frage 25

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

Frage 26

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

Frage 27

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

Frage 28

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

Frage 29

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

Frage 30

Frage
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?
Antworten
  • Configure changes
  • Scale up changes
  • Scale down changes
  • Roll back changes

Frage 31

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

Frage 32

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

Frage 33

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

Frage 34

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

Frage 35

Frage
Which of the following most accurately describes the relationship between Red Hat OpenShift and Kubernetes?
Antworten
  • 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

Frage 36

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

Frage 37

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

Frage 38

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

Frage 39

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

Frage 40

Frage
What is the upstream version of Red Hat OpenShift called?
Antworten
  • OKD
  • K8s open source
  • CRD
  • Enterprise Linux CoreOS
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt