Kubernetes and Cloud Native Associate (KCNA)Cloud Native ArchitectureEasy
A cloud-native application consists of several independent microservices. The development team needs a way to gain insights into the application's behavior and performance by collecting metrics (e.g., CPU usage, request latency), logs (e.g., error messages), and traces (e.g., end-to-end request flow) from all these services. Which overarching cloud-native principle encompasses these capabilities?
- AImmutable Infrastructure
- BObservability
- CServerless
- DGitOps
Show answer & explanationAnswer & explanation
Correct answer: B. Observability
Observability is the ability to understand the internal state of a system by examining its external outputs. In cloud-native environments, this typically involves collecting and analyzing metrics, logs, and traces to comprehend and debug complex distributed systems.
Why the other options are wrong
- A. Immutable Infrastructure focuses on not changing servers after deployment, which is a deployment pattern, not a principle for understanding system behavior.
- C. Serverless is an execution model where server management is abstracted, not a principle describing system insight capabilities.
- D. GitOps is an operational framework for managing infrastructure and application configurations, not for collecting runtime data.
Observability
The ability to infer the internal states of a system by examining its external outputs. In cloud-native, it typically relies on three pillars: metrics, logs, and traces, to understand complex distributed systems.
- Crucial for understanding distributed systems.
- Comprises metrics, logs, and traces.
- Enables proactive issue detection and debugging.
- Helps understand system behavior and performance.
Memory trick: O-L-M-T: Observe Logs, Metrics, Traces.