ICCT V3 - Containers, K8s and OpenShift

Descripción

Test sobre ICCT V3 - Containers, K8s and OpenShift, creado por Matt Beranek el 12/10/2021.
Matt  Beranek
Test por Matt Beranek , actualizado hace más de 1 año
Matt  Beranek
Creado por Matt Beranek hace alrededor de 5 años
21
0

Resumen del Recurso

Pregunta 1

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

Pregunta 2

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

Pregunta 3

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

Pregunta 4

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

Pregunta 5

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

Pregunta 6

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

Pregunta 7

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

Pregunta 8

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

Pregunta 9

Pregunta
What is a Docker file?
Respuesta
  • 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

Pregunta 10

Pregunta
Which of the following is considered immutable?
Respuesta
  • Image
  • Container
  • Docker
  • Node

Pregunta 11

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

Pregunta 12

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

Pregunta 13

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

Pregunta 14

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

Pregunta 15

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

Pregunta 16

Pregunta
Which of the following is considered a K8s object?
Respuesta
  • Kubelet
  • Cluster
  • Namespace
  • Directory

Pregunta 17

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

Pregunta 18

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

Pregunta 19

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

Pregunta 20

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

Pregunta 21

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

Pregunta 22

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

Pregunta 23

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

Pregunta 24

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

Pregunta 25

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

Pregunta 26

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

Pregunta 27

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

Pregunta 28

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

Pregunta 29

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

Pregunta 30

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

Pregunta 31

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

Pregunta 32

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

Pregunta 33

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

Pregunta 34

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

Pregunta 35

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

Pregunta 36

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

Pregunta 37

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

Pregunta 38

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

Pregunta 39

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

Pregunta 40

Pregunta
What is the upstream version of Red Hat OpenShift called?
Respuesta
  • OKD
  • K8s open source
  • CRD
  • Enterprise Linux CoreOS
Mostrar resumen completo Ocultar resumen completo