Bird
0
0

Given the following Istio telemetry configuration snippet, what will be the effect?

medium📝 Command Output Q4 of 15
Kubernetes - Service Mesh
Given the following Istio telemetry configuration snippet, what will be the effect?
apiVersion: telemetry.istio.io/v1alpha1
kind: Telemetry
metadata:
  name: example-metrics
spec:
  metrics:
  - providers:
    - name: prometheus
    overrides:
    - match:
        context.reporter.kind: "inbound"
      disabled: true
AOutbound traffic metrics will be disabled for Prometheus
BAll metrics will be disabled for Prometheus
CInbound traffic metrics will be disabled for Prometheus
DNo effect; configuration is invalid
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the override match condition

    The override disables metrics when the reporter kind is 'inbound', meaning metrics for inbound traffic are disabled.
  2. Step 2: Confirm scope of disablement

    Only inbound traffic metrics are disabled; outbound metrics remain enabled. The configuration syntax is valid.
  3. Final Answer:

    Inbound traffic metrics will be disabled for Prometheus -> Option C
  4. Quick Check:

    Inbound metrics disabled = Inbound traffic metrics will be disabled for Prometheus [OK]
Quick Trick: Overrides with match disable specific traffic metrics [OK]
Common Mistakes:
  • Assuming all metrics are disabled
  • Confusing inbound with outbound traffic
  • Thinking configuration is invalid

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes