Question 71 · 282 in bank
Which of the following would fall under the responsibilities of an SRE?
Show answer
Answer: B
Kubernetes and Cloud Native Associate282 questions across 29 pages are complete and free, with no account or card.
282 questions in this bank
Free access · progress saved on this device
Which of the following would fall under the responsibilities of an SRE?
Answer: B
What are the initial namespaces that Kubernetes starts with?
Answer: A
B. default, system, kube-public Incorrect. The namespace "system" is not a standard namespace in Kubernetes. C. kube-default, kube-system, kube-main, kube-node-lease Incorrect. The namespaces "kube-default" and "kube-main" are not standard namespaces in Kubernetes. D. kube-default, system, kube-main, kube-primary Incorrect. The namespaces "kube-default", "system", "kube-main", and "kube-primary" are not standard namespaces in Kubernetes.
Source: Adapted from community discussion — shahy0
What is a probe within Kubernetes?
Answer: C
Within Kubernetes, a "probe" refers to a diagnostic mechanism used by the kubelet to check the health of containers running within pods.Probes are configured within the PodSpec of Kubernetes pods and are used to determine if the containers within the pod are healthy and ready to serve traffic. There are three types of probes: Liveness Probe: Determines if the container is still running and healthy. If the liveness probe fails, Kubernetes restarts the container. Readiness Probe: Determines if the container is ready to serve traffic. If the readiness probe fails, the pod is removed from load balancers, and no traffic is routed to it. Startup Probe: Similar to the liveness probe, but only runs during the initial startup of a container. It helps delay the liveness and readiness probes until the application inside the container has started.
Source: Adapted from community discussion — SeaH0rse66
Which Kubernetes feature would you use to guard against split brain scenarios with your distributed application?
Answer: D
D. StatefulSet While consensus protocols are generally used to prevent split brain scenarios in distributed systems, the provided information highlights that StatefulSets are specifically designed to ensure the stability and integrity of distributed and clustered applications. StatefulSets maintain "at most one" semantics, which helps prevent multiple instances of the same identity, reducing the risk of split brain scenarios and data loss in quorum-based systems. StatefulSets are well-suited for applications that require stable network identity and storage, providing mechanisms to manage pod identities, persistent storage, and ordered deployment and scaling. Therefore, StatefulSets are the most appropriate Kubernetes feature to mitigate the risk of split brain scenarios in this context.
Source: Adapted from community discussion — SeaH0rse66
What feature must a CNI support to control specific traffic flows for workloads running in Kubernetes?
Answer: D
Think of Network Policies in Kubernetes as security checkpoints at different entrances to a building. Just as security personnel at each entrance check IDs and verify permissions before allowing individuals to enter specific areas of the building, Network Policies control the flow of network traffic within the Kubernetes cluster, ensuring that only authorized Pods can communicate with each other and that access to sensitive services is restricted according to defined rules.
Source: Adapted from community discussion — phcunha
What is the main role of the Kubernetes DNS within a cluster?
Answer: D
Kubernetes DNS provides DNS resolution services within a Kubernetes cluster. It ensures that Pods and Services can be discovered and accessed by other Pods and Services using consistent DNS names. This enables seamless communication between different components within the Kubernetes cluster, regardless of their underlying network configurations.
Source: Adapted from community discussion — SeaH0rse66
What is the purpose of the kubelet component within a Kubernetes cluster?
Answer: D
Scenario: You have a Kubernetes cluster hosted in a public cloud provider. When trying to create a Service of type LoadBalancer, the external-ip is stuck in the "Pending" state. Which Kubernetes component is failing in this scenario?
Answer: A
B,C,D are not standards of Kubernetes. The Cloud Controller Manager is a Kubernetes component responsible for managing cloud-specific resources and integrations, including load balancers provided by the cloud provider. It interacts with the cloud provider's API to provision, configure, and manage resources such as load balancers. If the Service's external IP address remains in the "Pending" state, it suggests that there may be an issue with the Cloud Controller Manager's ability to communicate with the cloud provider's API or to provision the necessary resources.
Source: Adapted from community discussion — SeaH0rse66
What are the characteristics for building every cloud-native application?
Answer: D
A cloud native application is engineered to run on a platform and is designed for resiliency, agility, operability, and observability. Resiliency embraces failures instead of trying to prevent them; it takes advantage of the dynamic nature of running on a platform. Agility allows for fast deployments and quick iterations. Operability adds control of application life cycles from inside the application instead of relying on external processes and monitors. Observability provides information to answer questions about application state. https://www.oreilly.com/library/view/cloud-native-infrastructure/9781491984291/ch01.html
Source: Adapted from community discussion — alex78
What does CNCF stand for?
Answer: B
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
KCNA practice, question 71. 282 questions available.
Version 1.0.0. How we source questions