You need to deploy a new version of your application to Kubernetes without causing any downtime or disruption to users. What open standard would you use to facilitate this process?
Correct Answer: D
Kubernetes Rolling Update allows you to deploy new versions of your application gradually- It replaces existing pods with the new version one by one, ensuring that there is always at least one pod running the previous version, minimizing downtime. This approach helps maintain the application's availability during updates-
Question 52
You have a Kubernetes cluster with multiple applications deployed. Each application is instrumented to emit logs, metrics, and traces. You want to use a single dashboard to visualize the performance of all applications in a unified view. What are the possible approaches to achieve this?
Correct Answer: A,B,C,D,E
All of the provided options can contribute to achieving a unified dashboard for visualizing the performance of multiple applications. Each option has its strengths and weaknesses: A: Use Prometheus to aggregate metrics from all applications and create a single dashboard. Prometheus is a powerful tool for collecting and aggregating metrics. You can use Prometheus's query language to fetch data from multiple applications and create a centralized dashboard in Grafana or a custom application. B: Use Grafana to create a single dashboard that queries data from Prometheus and Jaeger. Grafana is a popular dashboarding tool that can visualize data from multiple sources. It can query metrics from Prometheus and tracing data from Jaeger to create a unified view. C: Use Loki for log aggregation and create a single dashboard in Grafana to visualize logs, metrics, and traces. Loki is a log aggregation system that can collect logs from various sources, including Kubernetes. By integrating Loki with Grafana, you can visualize logs, metrics, and traces on a single dashboard. D: Use a custom application to collect and aggregate data from Prometheus, Jaeger, and Loki, and then visualize the data on a custom dashboard. You can build a custom application to collect data from Prometheus, Jaeger, and Loki and then create a custom dashboard using a framework like React or Vue.js. This allows you to have full control over the data aggregation and visualization process. E: Configure Kubernetes to forward logs, metrics, and traces to a centralized observability platform like CloudWatch or Stackdriver. Cloud-based observability platforms like Amazon CloudWatch or Google Stackdriver provide a centralized platform for collecting, aggregating, and visualizing data from multiple applications. These platforms often have pre- built dashboards and alerting capabilities, making it easy to monitor and analyze data from different applications in a unified view. The best approach depends on your specific needs, resources, and preferred tools. You can choose a combination of these options to meet your requirements.
Question 53
How should folks new to the cloud native ecosystem, go about learning the different aspects of the ecosystem?
Correct Answer: D
https://github.com/cncf/landscape#trail-map
Question 54
What cloud-native construct does a kubernetes pod wrap?
Correct Answer: A
Kubernetes is an orchestrator of containerized apps. However, containers must be wrapped in pods before they can be deployed on kubernetes.
Question 55
What is the difference between a Service and an Ingress in Kubernetes?
Correct Answer: C
In Kubernetes Services provide a way to expose applications running within the cluster, while Ingress provides a mechanism for routing and load balancing external traffic to your applications. Services are used to make Pods accessible within the cluster, while Ingress enables users outside the cluster to access your applications.