Courseiva
Cloud Native ObservabilitymediumMultiple SelectObjective-mapped

KCNA Cloud Native Observability Practice Question

Which TWO of the following are best practices for implementing observability in a cloud-native environment?

⚠ Common exam trap

The KCNA exam often tests the misconception that 'more data is always better' (Option A) or that 'simplifying to one data type is efficient' (Option B), while the correct approach balances cost, performance, and diagnostic value through structured logging and correlation IDs.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Add unique request IDs to logs for end-to-end tracing correlation

Adding unique request IDs (e.g., via OpenTelemetry trace IDs or custom correlation IDs) to logs enables end-to-end tracing across microservices. This allows operators to correlate a single user request as it traverses multiple services, which is essential for debugging distributed systems in a cloud-native environment.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Store all raw observability data indefinitely for forensic analysis

    Why it's wrong here

    Storing all data indefinitely is costly and not a best practice.

  • Use only metrics and avoid logs to reduce complexity

    Why it's wrong here

    Metrics alone lack context; logs and traces are also needed.

  • Add unique request IDs to logs for end-to-end tracing correlation

    Why this is correct

    Request IDs help correlate logs across microservices for tracing.

  • Randomly sample all traces and logs to reduce storage

    Why it's wrong here

    Random sampling may miss critical errors; targeted sampling is better.

  • Use structured logging (e.g., JSON format) for easier automated parsing

    Why this is correct

    Structured logging allows tools like Fluentd to parse logs efficiently.

About these practice questions

This KCNA question is part of Courseiva's 833-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on KCNA

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which TWO of the following are best practices for structuring log output in cloud-native applications to maximize observability?

hard
  • A.Include verbose debug-level information in every log line
  • B.Use multi-line log entries for detailed error information
  • C.Output logs in structured format such as JSON
  • D.Include a unique request or correlation ID in each log entry
  • E.Avoid timestamps to reduce log size

Why C: Structured logging (e.g., JSON) enables automated parsing, filtering, and querying by log aggregation tools like Fluentd, Logstash, or cloud-native observability backends (e.g., Elasticsearch, Loki). This format ensures each log entry has consistent key-value pairs, making it machine-readable and facilitating correlation across distributed services without manual text parsing.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This KCNA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the KCNA exam.