Docsity

KUBERNETES CLOUD NATIVE ASSOCIATE KCNA CERTIFICATION PART #1, Exams of Medicine

Toggle sidebar
bg1
KUBERNETES CLOUD NATIVE ASSOCIATE
KCNA CERTIFICATION PART #1 UPDATED
ACTUAL QUESTIONS AND CORRECT ANSWERS
Question:
1. What is the KCNA certification in the context of Kubernetes and Cloud Native?
Answer:
A certification that provides a broader learning path before moving to CKA and CKAD
Question:
2. What is the format of the KCNA exam?
Answer:
Multiple Choice
Question:
3. How can one can reduce the overall cost of the KCNA exam?
Answer:
By waiting for sales from the Linux Foundation By attending KubeCon / CloudNativeCon and
utilizing a post event discount By checking for discount codes on the Linux Foundations' social media
handles
Question:
4. Who proctors the KCNA exam when it is taken remotely?
Answer:
A remote proctor who monitors your screen and camera
Question:
5. What is the best place to check for any changes in the KCNA exam or curriculum?
Answer:
GitHub (under cncf/curriculum)
Question:
6. What does the KCNA curriculum include that is now a dedicated qualification?
Answer:
GitOps and Prometheus
Question:
7. Who might be able to receive assistance for the KCNA exam from the LinuxFoundation or CNCF?
Answer:
People who are part of diversity groups
Question:
8. What is a key benefit of Open Standards in computing and software development?
Answer:
They allow for the use of multiple tools and technologies, avoiding vendor lock-in
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download KUBERNETES CLOUD NATIVE ASSOCIATE KCNA CERTIFICATION PART #1 and more Exams Medicine in PDF only on Docsity!

KUBERNETES CLOUD NATIVE ASSOCIATE

KCNA CERTIFICATION PART #1 UPDATED

ACTUAL QUESTIONS AND CORRECT ANSWERS

Question:

  1. What is the KCNA certification in the context of Kubernetes and Cloud Native?

Answer: A certification that provides a broader learning path before moving to CKA and CKAD

Question:

  1. What is the format of the KCNA exam?

Answer:

Multiple Choice

Question:

  1. How can one can reduce the overall cost of the KCNA exam?

Answer: By waiting for sales from the Linux Foundation By attending KubeCon / CloudNativeCon and utilizing a post event discount By checking for discount codes on the Linux Foundations' social media handles

Question:

  1. Who proctors the KCNA exam when it is taken remotely?

Answer:

A remote proctor who monitors your screen and camera

Question:

  1. What is the best place to check for any changes in the KCNA exam or curriculum?

Answer: GitHub (under cncf/curriculum)

Question:

  1. What does the KCNA curriculum include that is now a dedicated qualification?

Answer: GitOps and Prometheus

Question:

  1. Who might be able to receive assistance for the KCNA exam from the LinuxFoundation or CNCF?

Answer: People who are part of diversity groups

Question:

  1. What is a key benefit of Open Standards in computing and software development?

Answer: They allow for the use of multiple tools and technologies, avoiding vendor lock-in

Question:

  1. What significant benefit do Open Standards provide in the field of computing?

Answer: They can be openly adopted, implemented and further refined by any participant

Question:

  1. Why is Docker a good example in understanding Open Standards?

Answer: Because Docker has been instrumental in the creation of Open Standards and Open Contributions

Question:

  1. What specific software did Docker Inc donate to the Open Container Initiative, marking the first OCI open standard?

Answer: runC, Docker's underlying runtime software

Question:

  1. Which specification outlines how a filesystem bundle should be packaged into an image?

Answer: Image Specification

Question:

  1. What is the purpose of the Container Storage Interface (CSI)?

Answer: It is an open standard for interfacing with storage solutions

Question:

  1. What does the Container Runtime Interface (CRI) enable in the Kubernetes ecosystem?

Answer: It allows the kubelet to use a wide variety of container runtimes

Question:

  1. What specification does the Open Container Initiative outline for running a filesystem bundle?

Answer:

Runtime Specification

Question:

  1. What open standard allows for the creation of OCI compliant container images?

Answer: OCI Image Specification

Question:

  1. What is the purpose of the Open Container Initiative's Distribution Specification?

Answer: It defines a specification on the open standards and API protocols for distribution of content

Question:

  1. What is the reference implementation of the OCI runtime specification?

Answer: Terraform

Question:

  1. How could Ansible facilitate Cloud Native automation?

Answer: Ansible is a toolset that could assist with many areas including Container and Application Lifecycles as well as infrastructure deployment

Question:

  1. Which of the following is a key function of Terraform in Cloud Native Automation?

Answer: Terraform focuses on Infrastructure as Code (IAC), allowing for consistent, reproducible, and automated infrastructure across different environments

Question:

  1. In the context of CI/CD, what does "Continuous Integration" encourage?

Answer: It encourages developers to frequently check in code and automatically test their projects prior to release

Question:

  1. What best describes the concept of Continuous Delivery in the context of CI/CD?

Answer: A practice that encourages that frequent development changes with an emphasis on automated testing, leading up to a releasable build

Question:

  1. What does the term 'Continuous Deployment' mean in the context of CI/CD?

Answer: It refers to the practice where changes are continuously deployed and released into a Production environment, often without requiring human initiation

Question:

  1. What is the zero trust security model in a Cloud Native context?

Answer: An environment that never trusts any components and always verifies identities and integrity

Question:

  1. What does the Cloud Native principle of "Speed, Efficiency and Cost Saving" promote?

Answer: Using autoscaling to allow applications to scale up and down based on the workload, leveraging serverless architectures when needed, and implementing proactive measures for cost saving

Question:

  1. What is a key consideration when designing an application or infrastructure in cloud native practices?

Answer: Potential for component failure

Question:

  1. How does the concept of 'Least Privilege' contribute to Cloud Native security?

Answer: It assigns the minimum set of permissions needed to each component or user permission, limiting the potential damage from exploits and security breaches

Question:

  1. In the context of a Cloud Native ecosystem, what does "Secure by Default" mean?

Answer: Implementing secure practices and leveraging processes and tools to ensure components are secure from the start

Question:

  1. What are Kubernetes "replicas" used for in the context of Self Healing?

Answer: Replicas are used to ensure a given number of instances of a deployment are running, and to replace any that fail, thereby providing self-healing functionality

Question:

  1. Which of the following options correctly lists the key pillars of Cloud Native Architecture?

Answer: Microservices, Containers, DevOps, Continuous Delivery

Question:

  1. Why is service discovery important in Cloud Native applications?

Answer: It allows for automatic detection of services

Question:

  1. It prevents the use of Environment Variables and DNS services in Kubernetes Firewall rules and network ACLs

Answer: Environment Variables and built-in DNS

Question:

  1. What does the term 'Auto' in Autoscaling refer to?

Answer:

Auto for Automated or Automatic

Question:

  1. What is Autoscaling?

Answer: A pattern to facilitate automatic scaling of infrastructure or application components

Question:

  1. What are Vertical Pod Autoscalers (VPA) in Kubernetes used for?

Answer: They scale the resource requests and limits of a pod

Question:

  1. What is Keda in the context of Autoscaling?

Answer: It is an event driven architecture that makes use of ScaledObjects

Question:

  1. What is the key difference in using Serverless computing services as compared to managing your own servers?

Answer: Serverless servers manage the servers, reducing the burden of maintenance

Question:

  1. What is a key characteristic of Serverless architecture?

Answer: It runs in response to events

Question:

  1. What is AWS Lambda an example of?

Answer: FAAS (Function as a Service)

Question:

  1. Which two aspects of Serverless computing are critical to understand from a cost perspective?

Answer: Code execution and autoscaling

Question:

  1. What is one of the challenges posed by Serverless solutions from a Cloud Native viewpoint?

Answer:

They may lead to vendor lock-in due to lack of standardized APIs

Question:

  1. What is the scaling model referred to as when using Serverless and its event-driven architecture?

Answer: Scale to zero

Question:

  1. Which of the following open source solutions provide Serverless functionality on top of Kubernetes?

Answer: Knative and OpenFaas

Question:

  1. What does provisioned concurrency in Serverless offerings refer to?

Answer: The number of instances that can run simultaneously

Question:

  1. What is a possible disadvantage of using Serverless architecture?

Answer: It may incur latency during periods where the application in less active

Question:

  1. What is the purpose of the CloudEvents specification?

Answer:

It provides a consistent way of describing event data across different services, platforms and systems

Question:

  1. What organisation hosts the CloudEvents specification?

Answer: The Cloud Native Computing Foundation

Question:

  1. How can CloudEvents be used according to the CloudEvents specification?

Answer: Agnostically across various services, platforms and systems

Question:

  1. How does Serverless architecture handle concurrency?

Answer: It typically manages concurrency as part of the application

Question:

  1. Which feature of Serverless offerings helps manage the workload and billing?

Answer: Budget thresholds

Question:

  1. What does CNCF stand for?

Answer:

Cloud Native Computing Foundation

Question:

  1. What is the CNCF's mission?

Answer: To make cloud native computing ubiquitous

Question:

  1. What is the sequence of the CNCF project maturity levels?

Answer: Through discussion and voting

Question:

  1. What are the "TOC" and "SIG" acronyms in the context of CNCF?

Answer: TOC: Technical Oversight Committee; SIG: Special Interest Group

Question:

  1. What is the significance of the CNCF Landscape page?

Answer: It provides an overview of of the ecosystem of cloud native projects, including those in Sandbox, Incubated and Graduated Stages

Question:

  1. Which group, according to the "Crossing the Chasm" model, is most susceptible to risk and will wait for market adoption to increase before utilizing a project themselves?

Answer: Late Majority

Question:

  1. What is the main objective of the role of a DevOps Engineer?

Answer: To bridge the gap between development and operations

Question:

  1. Which role places a heavier emphasis on reliability, including aspects such as uptime, availability, scalability, resilience, and robustness?

Answer: Site Reliability Engineer

Question:

  1. What does a CloudOps Engineer primarily focus on?

Answer: Management, delivery, optimization and consumption of workloads on Cloud Infrastructure

Question:

  1. Which role can be considered the bridge between traditional IT Security and DevOps?

Answer: DevSecOps Engineer

Question:

  1. What does the role of a Full Stack Developer encompass?

Answer:

Specializing in both Frontend and Backend Development

Question:

  1. What is the primary responsibility of a Cloud Architect?

Answer: To architect Cloud applications, infrastructure and solutions

Question:

  1. What is the primary function of a Data Engineer's role?

Answer: To design and build systems that manipulate and provide access to data

Question:

  1. Which of these roles is considered to have a crossover with DevOps, particularly when it comes to the skillsets involved?

Answer: Site Reliability Engineer

Question:

  1. What is the primary focus of a Security Engineer?

Answer: Promoting and adhering to security best practices

Question:

  1. What is the primary focus of FinOps in an organisation?

Answer: To manage and optimise the financial aspect of cloud operations, ensuring cost effectiveness and efficiency

Question:

  1. What is chroot?

Answer:

A process that allows you to change the root directory for a running process and its children

Question:

  1. What was Docker originally called?

Answer: DotCloud

Question:

  1. What are the two key ingredients that Docker brought together to create its solution?

Answer: Linux Namespaces and cgroups

Question:

  1. Why are Docker containers preferred over virtual machines?

Answer: They are faster to deploy and consume less system resources

Question:

  1. How many namespaces were originally added to the Linux kernel in 2002?

Question:

  1. What is a container image?

Answer: A portable self-contained bundle of software and dependencies

Question:

  1. What is the difference between a container and a container image?

Answer: A container is a running instance of the software, while the container image is a bundle of software

Question:

  1. What is a container registry?

Answer:

A service for hosting and distributing container images

Question:

  1. What is a tag in the context of container images?

Answer: A label used to distinguish a version of a container image

Question:

  1. What is the purpose of the "latest" tag in Docker?

Answer: To be used as a default tag when working with images if a tag is not specified

Question:

  1. What is a union filesystem in the context of container images?

Answer: A filesystem that combines individual layers into a single view

Question:

  1. What is a digest in the context of container images?

Answer: A secure and unique identifier from an image in the container registry

Question:

  1. What is the difference between a digest and an image ID?

Answer:

A digest is a checksum taken from a container registry, while an image ID is a checksum based on the local container image

Question:

  1. What is the command used to validate the Docker version and configuration?

Answer: docker version

Question:

  1. What is the container engine being used by Docker?

Answer: containerd

Question:

  1. What is the purpose of the -rm option when running a Docker container?

Answer: To remove the container when it exits

Question:

  1. What command, in the original Docker command syntax, would display all containers, irrespective of their state, including those that have exited? docker ps docker ps -a docker container list docker container list -a

Answer: docker ps -a

Question:

  1. How can you override the default command in a Docker container when running it?

Answer: Add the command to the end of the docker run command

Question:

  1. What does the it option do when running a Docker container?

Answer:

Runs the container in interactive mode with a terminal

Question:

  1. Which command is used to remove a Docker container?

Answer: docker rm

Question:

  1. Which command line option is used to list all the parameters available to the Docker command?

Answer: docker--help

Question:

  1. What is the purpose of running a container as a non-root user?

Answer: To improve security by securing privileges

Question:

  1. What does the command "docker run --rm nginx" do?

Answer:

Pulls the nginx image if it does not exist, runs a container, and removes the container upon exit

Question:

  1. What does the WORKDIR instruction do in a Dockerfile?

Answer: Sets the working directory for subsequent instructions and creates a directory if required

Question:

  1. What is a drawback of having too many layers in a container image?

Answer: Potential inefficiencies in image size and build times

Question:

  1. What is the difference between the CMD and RUN instructions in a Dockerfile?

Answer:

CMD specifies the command that will be executed when the container runs, while RUN executes commands during the build process

Question:

  1. What is the purpose of a multistage build in a Dockerfile?

Answer: To reduce the size of the final container image

Question:

  1. In a multistage Dockerfile, how can you copy a binary from one stage to another?

Answer: By using the COPY directive with the --from flag

Question:

  1. What is the function of the Logical AND operator (&&) in a Dockerfile?

Answer: To run multiple commands in sequence, only if the previous command is successful

Question:

  1. What was the purpose of the adduser command in our Dockerfile?

Answer:

To create a new user with reduced privileges

Question:

  1. What does the ENTRYPOINT in a Dockerfile do?

Answer: Specifies the command to run when the container is started

Question:

  1. What is the primary advantage of using Docker Buildx for building and pushing container images compared to Docker Build?

Answer: Buildx simplifies building and managing multiarch images by allowing simultaneous builds for multiple target platforms

Question:

  1. What does the docker system prune command do?

Answer: Removes stopped containers, unused networks, dangling images, and dangling build cache

Question:

  1. What is the primary function of Container Orchestration?

Answer: Supporting the operational needs in running containers

Question:

  1. Which of the following is not a feature of Container Orchestration?

Answer:

Database Management

Question:

  1. Which of these is a means of expanding Kubernetes to have functionality outside of core functionality?

Answer: CRDs

Question:

  1. What does CRD stand for in the context of Container Orchestration?

Answer: Custom Resource Definitions

Question:

  1. Which tool is considered the gold standard for Container Orchestration?

Answer: Kubernetes

Question:

  1. Which of the following is not a key area where Container Orchestration excels?

Answer:

Cybersecurity Threat Detection

Question:

  1. What is the primary benefit of Container Orchestration in the deployment of complex applications?

Answer: It standardizes the deployment and integrates with components like networking, storage, security and autoscaling

Question:

  1. In the context of Container Orchestration, what is the purpose of 'self-healing'?

Answer:

Automatically fixing or healing containers when they fail

Question:

  1. How do nodes in a highly available Kubernetes configuration connect to the API server?

Answer: They connect via loadbalancer

Question:

  1. What is a Pod in the context of Kubernetes?

Answer: The smallest and simplest unit in the Kubernetes object model you create or deploy

Question:

  1. Which of the following correctly represents the hierarchy of Kubernetes components, from broadest to most specific?

Answer: Cluster, Node, Pod, Container

Question:

  1. When does the Kubernetes Kube-Scheduler determine the node placement for a pod?

Answer: After the pod has been created and registered in ETCD

Question:

  1. If a Kubernetes cluster hosted on a public cloud provider fails to provision a requested load balancer service, which component might be responsible for this failure?

Answer:

The Cloud-Controller-Manager

Question:

  1. Which of the following is considered a component of a Kubernetes node?

Answer: Kube-Proxy

Question:

  1. Which of the following is considered a component of the Kubernetes control-plane?

Answer: Cloud-Controller-Manager

Question:

  1. What is the smallest deployable unit of compute in Kubernetes?

Answer: Pod

Question:

  1. How do you check the status of pods running in Kubernetes?

Answer: kubectl get pods

Question:

  1. How do you view the logs of a specific pod in Kubernetes?

Answer: kubectl logs

Question:

  1. What is the command to create a port-forward tunnel in Kubernetes for testing purposes?

Answer: kubectl port-forward pod/ :

Question:

  1. How do you run a command inside a specific container in a running pod?

Answer:

kubectl exec -it -c --

Question:

  1. How can you see logs of a particular container from a multi-container pod?

Answer: kubectl logs -c

Question:

  1. Which command would you use to view the logs of a container that has crashed and restarted?

Answer: kubectl logs pod/ -c -p

Question:

  1. What is the Kubernetes object YAML configuration management command that provides a declarative approach?

Answer: kubectl apply -f

Question:

  1. How do you run a pod with a specific image in Kubernetes?

Answer:

kubectl run nginx --image=nginx

Question:

  1. In Kubernetes, what is the purpose of a sidecar container in a pod?

Answer: To perform a specific task in tandem with the main container

Question:

  1. Which command is used to execute an interactive shell inside a running container in a Kubernetes pod?

Answer: kubectl exec -it -c --bash