ICCT V3 - Containers, K8s and OpenShift

Descrição

Quiz sobre ICCT V3 - Containers, K8s and OpenShift, criado por Matt Beranek em 12-10-2021.
Matt  Beranek
Quiz por Matt Beranek , atualizado more than 1 year ago
Matt  Beranek
Criado por Matt Beranek aproximadamente 5 anos atrás
21
0

Resumo de Recurso

Questão 1

Questão
Which is a benefit of containers?
Responda
  • 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

Questão 2

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

Questão 3

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

Questão 4

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

Questão 5

Questão
What are the OS primitives that enable virtualization in the Linux Kernel?
Responda
  • Syscalls and cgroups
  • Namespace and syscalls
  • projects and cgroups
  • namespace and cgroups

Questão 6

Questão
Physical hardware is traditionally virtualized by which of the following?
Responda
  • Kubernetes
  • Containers
  • Namespaces
  • Hypervisors

Questão 7

Questão
Which of the following is a platform used for container orchestration?
Responda
  • OpenStack
  • Kubernetes
  • Docker
  • Ansible

Questão 8

Questão
What is an important different between containers and virtual machines?
Responda
  • 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

Questão 9

Questão
What is a Docker file?
Responda
  • 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

Questão 10

Questão
Which of the following is considered immutable?
Responda
  • Image
  • Container
  • Docker
  • Node

Questão 11

Questão
Resizing a VM to add additional capacity is part of which of the following?
Responda
  • Vertical scaling
  • Horizontal scaling
  • Hardware Virtualization
  • System rationalization
  • Containers

Questão 12

Questão
Adding more VMs to a cluster to increast capacity is which of these?
Responda
  • Scale distinctively
  • Scale proportionally
  • Scale under
  • Scale out

Questão 13

Questão
Replicating a Pod serves to scale an application in which of the following ways?
Responda
  • Horizontally
  • Vertically
  • Upward
  • Downward

Questão 14

Questão
Which of the following statements describes Kubernetes?
Responda
  • Open Source software
  • Container orchestration platform
  • A tool that facilitates declarative management
  • All of the above

Questão 15

Questão
Which of the following components is part of the K8s control plane?
Responda
  • The worker nodes
  • The Kubelet
  • etcd
  • The K8s network proxy

Questão 16

Questão
Which of the following is considered a K8s object?
Responda
  • Kubelet
  • Cluster
  • Namespace
  • Directory

Questão 17

Questão
Which K8s object represents a single instance of processes running in a container?
Responda
  • Cluster
  • Deployment
  • Kubelet
  • Pod

Questão 18

Questão
What does "create" do in this command? kubectl create -f nginx.yaml
Responda
  • 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

Questão 19

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

Questão 20

Questão
Each node is made up of which of the following pairs?
Responda
  • kube-controller manager and kube-proxy
  • kube-proxy and kube-api-server
  • kube-proxy and kubelet
  • kubelet and etcd

Questão 21

Questão
What occurs if the Cluster Autoscaler detects pending pods?
Responda
  • 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

Questão 22

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

Questão 23

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

Questão 24

Questão
What happens if work nodes are under-utilized?
Responda
  • 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.

Questão 25

Questão
The Horizontal Pod Autoscaler monitors which of the following?
Responda
  • Worker node count
  • CPU utilization
  • Network latency
  • Cluster efficiency

Questão 26

Questão
Which of the following Kubernetes objects are used to store and manage sensitive information?
Responda
  • Service bindings
  • ConfigMaps
  • Secrets
  • Replica Sets

Questão 27

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

Questão 28

Questão
ReplicaSets enable users to scale applications by running duplicate ______ ?
Responda
  • Pods
  • Persistent Volume
  • Clusters
  • Configurations

Questão 29

Questão
ConfigMaps and secrets are used to store ______ and ________ .
Responda
  • Configurations, credentials
  • Code, program parameters
  • Logs, authentication
  • yaml files, logs

Questão 30

Questão
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?
Responda
  • Configure changes
  • Scale up changes
  • Scale down changes
  • Roll back changes

Questão 31

Questão
Red Hat OpenShift offers an integrated container registry by default as opposed to that of a K8s cluster.
Responda
  • True
  • False

Questão 32

Questão
OperatorHub is included in which of the following consoles?
Responda
  • Docker
  • OpenShift
  • IBM Console
  • Kubernetes

Questão 33

Questão
Red Hat OpenShift on IBM Cloud is which type of service?
Responda
  • Operational
  • Managed
  • Closed
  • Forbidden

Questão 34

Questão
Cloud native applications are small, _______ , loosely coupled services.
Responda
  • Symbiotic
  • Reliable
  • Interdependent
  • Independent

Questão 35

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

Questão 36

Questão
Which of the following is a Red Hat OpenShift Build trigger ?
Responda
  • Source-to-image
  • Docker build
  • Webhook
  • Kube-build

Questão 37

Questão
Which of the following are operators available in OperatorHub within the OpenShift console? Select all that apply
Responda
  • Red Hat
  • Certified
  • Community
  • Controller

Questão 38

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

Questão 39

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

Questão 40

Questão
What is the upstream version of Red Hat OpenShift called?
Responda
  • OKD
  • K8s open source
  • CRD
  • Enterprise Linux CoreOS