Courseiva

Istio Certified Associate (ICA, CNCF/Linux Foundation) (ICA) (ICA) — Questions 76150

292 questions total · 4pages · All types, answers revealed

Page 1

Page 2 of 4

Page 3
76
MCQmedium

What is the recommended way to test fault injection in a production environment?

A.Using header-based matches in a VirtualService.
B.Injecting faults in the code.
C.Using a separate mesh for testing.
D.Enabling it for 1% of traffic using weight.
E.Applying it globally to all users.
AnswerA

This isolates the impact to test traffic, minimizing risk.

Why this answer

Using header-based matching allows you to target faults to specific test traffic without impacting all users.

77
MCQmedium

You want to limit the number of concurrent connections to a service. Which field in the DestinationRule handles this?

A.connectionPool
B.outlierDetection
C.loadBalancer
D.portLevelSettings
AnswerA

connectionPool manages concurrent connections.

Why this answer

The connectionPool field in the trafficPolicy allows setting maxConnections for circuit breaking.

78
MCQhard

You need to integrate an external database into the mesh that does not support mTLS. How do you configure it securely?

A.Define a ServiceEntry and use an EgressGateway for controlled access.
B.Run a sidecar on the database server.
C.Enable 'PERMISSIVE' mTLS mode for the entire mesh.
D.Create a Kubernetes Service with the database IP.
AnswerA

ServiceEntry brings the external service into the registry, and EgressGateway provides a single point of control for policy enforcement.

Why this answer

Use a ServiceEntry to define the external service, and an EgressGateway to handle TLS origination if needed, or simply restrict traffic via an AuthorizationPolicy.

79
MCQmedium

If you apply an AuthorizationPolicy with a 'DENY' action and an 'ALLOW' action in the same namespace, how does Istio resolve them?

A.DENY policies always take precedence over ALLOW policies.
B.ALLOW policies take precedence.
C.The policy with the highest priority field wins.
D.The policy applied most recently wins.
AnswerA

This is the core evaluation logic in Istio RBAC.

Why this answer

The 'DENY' action takes precedence over 'ALLOW'. If any DENY policy matches, the request is rejected regardless of any ALLOW policy.

80
MCQeasy

Which resource is used to define the root certificate for a custom CA?

A.istio-ca-secret
B.root-secret
C.cacerts
D.istio-root-ca
AnswerC

This is the specific secret name Istio looks for.

Why this answer

The 'cacerts' secret in the 'istio-system' namespace is used to provide custom root certificates.

81
Multi-Selectmedium

Which TWO actions can a VirtualService perform on a request?

Select 2 answers
A.Throttle bandwidth
B.Define mTLS mode
C.Rewrite URI
D.Redirect request
E.Encrypt traffic
AnswersC, D

Supported.

Why this answer

VirtualServices can rewrite paths and redirect traffic.

82
MCQmedium

In a multi-cluster environment with a shared control plane, what is the purpose of the 'istio-remote-secret'?

A.To store custom headers for cross-cluster traffic.
B.To identify the cluster in the mesh.
C.To allow the control plane to manage the remote cluster's services.
D.To encrypt traffic between clusters.
AnswerC

The primary control plane must access the remote cluster's API to manage pods and services.

Why this answer

The secret allows the control plane in the primary cluster to authenticate and access the Kubernetes API of the remote cluster.

83
MCQhard

You want to ensure that a pod is only ejected if it fails consistently. Which setting is most appropriate?

A.Decrease interval, decrease consecutive5xx.
B.Decrease interval, increase consecutive5xx.
C.Increase interval, increase consecutive5xx.
D.Disable outlierDetection and use only circuitBreaking.
E.Increase interval, decrease consecutive5xx.
AnswerC

Increasing both makes the detector less sensitive to transient spikes.

Why this answer

A combination of a longer interval and a higher consecutive error threshold ensures only sustained failures trigger ejection.

84
MCQmedium

How do you define a circuit breaker that trips after 3 consecutive errors?

A.ServiceEntry
B.Gateway
C.VirtualService
D.DestinationRule
AnswerD

DestinationRule defines circuit breaking logic.

Why this answer

The outlierDetection field in DestinationRule uses consecutiveGatewayErrors.

85
MCQmedium

To test how your application handles service unavailability, you want to return an HTTP 503 error for 20% of requests to the 'catalog' service. Which fault injection setting do you use?

A.circuitBreaker
B.outlierDetection
C.delay
D.abort
AnswerD

Abort is the correct mechanism for simulating service errors.

Why this answer

The abort fault injection allows specifying a status code and percentage.

86
MCQeasy

Which 'istioctl' command is used to verify that the current Istio configuration in a cluster is valid and follows best practices?

A.istioctl analyze
B.istioctl check
C.istioctl diagnose
D.istioctl verify
AnswerA

This is the correct command for diagnostic analysis.

Why this answer

The 'istioctl analyze' command inspects the cluster and identifies configuration errors or warnings.

87
Multi-Selecthard

Which THREE actions occur when 'mode: STRICT' is set in a PeerAuthentication policy?

Select 3 answers
A.All non-Istio traffic is automatically routed to the gateway.
B.The client proxy initiates mTLS handshakes.
C.The sidecar proxy verifies the peer's identity via certificate.
D.The proxy automatically upgrades HTTP to HTTPS.
E.The server proxy rejects all non-mTLS traffic.
AnswersB, C, E

The client must adapt to the server's requirement.

Why this answer

STRICT mode forces mTLS, causes the proxy to reject plain text, and mandates that both client and server sidecars perform the handshake.

88
MCQhard

You observe that your sidecars are crashing due to 'Out of Memory' (OOM). What is a likely configuration error?

A.The ingress gateway has too many listeners.
B.The Sidecar resource is not scoped, causing the proxy to track all services in the mesh.
C.The Kubernetes node is under-provisioned.
D.The MTU size is too small.
AnswerB

Without scoping, the sidecar downloads configuration for every service, which can exceed memory limits in large meshes.

Why this answer

Over-subscribing sidecars with too many services or complex routing rules (like large numbers of VirtualServices) can lead to high memory consumption in the sidecar proxy.

89
MCQeasy

What is the correct syntax for a principal in an AuthorizationPolicy?

A.spiffe://my-service
B.default/my-service
C.cluster.local/ns/default/sa/my-service
D.my-service.default
AnswerC

Matches the SPIFFE URI format.

Why this answer

The principal follows the SPIFFE ID format: 'cluster.local/ns/default/sa/my-service'.

90
MCQmedium

How do you ensure that a workload ignores a global PeerAuthentication policy?

A.Apply a PeerAuthentication policy with a selector matching the specific workload.
B.Use an AuthorizationPolicy to bypass mTLS.
C.Delete the global policy.
D.Set the 'mode' to 'DISABLE' in a DestinationRule.
AnswerA

Selectors allow granular overrides.

Why this answer

A workload-specific PeerAuthentication policy (with a selector) will override a global (namespace or root) policy.

91
MCQhard

When using 'maxRequests' in connectionPool, what happens when the threshold is reached?

A.Additional requests are rejected with a 503.
B.The client is disconnected.
C.The timeout is extended.
D.Requests are queued until capacity is available.
E.The service is automatically scaled.
AnswerA

When the connection pool is full, new requests are rejected immediately.

Why this answer

In Envoy, maxRequests is a circuit-breaking limit that rejects new requests with a 503 error when the limit is exceeded.

92
MCQeasy

Which command is used to view the current Istio configuration resources in a namespace?

A.istioctl proxy-config
B.istioctl dashboard
C.istioctl analyze
D.kubectl get
AnswerD

kubectl get lists resources.

Why this answer

kubectl get is the standard tool to list Kubernetes resources, including Istio CRDs.

93
Multi-Selecthard

Which of the following are valid DestinationRule fields? (Choose THREE)

Select 3 answers
A.redirect
B.host
C.trafficPolicy
D.subsets
E.match
AnswersB, C, D

Valid field.

Why this answer

DestinationRule includes host, trafficPolicy, and subsets.

94
MCQeasy

What is the primary purpose of adding a timeout to a service call?

A.To hide errors from the user.
B.To prevent resource exhaustion from hanging requests.
C.To load balance more effectively.
D.To increase throughput.
E.To encrypt traffic.
AnswerB

By failing fast, you release resources and prevent cascading failure.

Why this answer

Timeouts prevent resources from being held indefinitely by slow or hung services.

95
MCQhard

You want to perform a 'headers' modification on an incoming request. Which resource allows this?

A.DestinationRule
B.EnvoyFilter
C.Gateway
D.VirtualService
AnswerD

VirtualService has a headers field for mutations.

Why this answer

VirtualService allows header manipulation (add, remove, replace) in the route action.

96
MCQmedium

To strip a URL prefix before passing a request to a backend service, which field do you use?

A.prefix
B.rewrite
C.path
D.redirect
AnswerB

Rewrite modifies the path.

Why this answer

The rewrite field in a VirtualService can modify the URI path.

97
MCQmedium

When a request fails, where can you check the reason for the failure in the Istio ecosystem?

A.Kiali
B.DestinationRule status
C.istioctl analyze
D.Gateway logs
AnswerA

Kiali is the visualization and observability tool.

Why this answer

Kiali provides visual traffic flow analysis and error code identification.

98
MCQmedium

When multiple AuthorizationPolicies target the same workload, how are they combined?

A.The most specific policy wins, others are ignored.
B.Policies are unioned (OR logic) for ALLOW actions.
C.The first policy encountered in the API server wins.
D.All policies must match (AND logic).
AnswerB

Multiple ALLOW policies are combined so that if any match, access is granted.

Why this answer

If multiple policies are applied to the same workload, they are evaluated using an additive approach (OR logic) for ALLOW policies within the same namespace.

99
Multi-Selecteasy

Which TWO conditions can trigger Outlier Detection ejection?

Select 2 answers
A.consecutive5xx
B.maxConnections
C.timeout
D.consecutiveGatewayFailure
E.latencyThreshold
.maxRequests
AnswersA, D

Standard error trigger.

Why this answer

Outlier detection uses both consecutive 5xx errors and consecutive gateway failures.

100
Multi-Selectmedium

Which TWO settings in a DestinationRule are used for load balancing?

Select 2 answers
A.connectionPool
B.loadBalancer.simple
C.outlierDetection
D.loadBalancer.consistentHash
E.trafficPolicy.tls
AnswersB, D

Defines the simple load balancing algorithm (e.g., ROUND_ROBIN).

Why this answer

TrafficPolicy includes the load balancing settings for a service.

101
Multi-Selecthard

Which are valid match conditions in VirtualService? (Choose THREE)

Select 3 answers
A.headers
B.timeout
C.uri
D.weight
E.port
AnswersA, C, E

Valid match.

Why this answer

Match conditions include headers, uri, and port.

102
Multi-Selectmedium

Which of these are valid load balancer algorithms in DestinationRule? (Choose TWO)

Select 2 answers
A.RANDOM_HASH
B.PRIORITY
C.FIRST_COME
D.ROUND_ROBIN
E.LEAST_CONN
AnswersD, E

Valid algorithm.

Why this answer

ROUND_ROBIN and LEAST_CONN are valid load balancer settings in Istio.

103
Multi-Selectmedium

Which TWO parameters are used to define a 'match' criteria in a VirtualService?

Select 2 answers
A.timeout
B.subset
C.retries
D.headers
E.authority
AnswersD, E

Valid match condition.

Why this answer

Headers and authority (or URI) are valid match conditions.

104
MCQmedium

When inspecting Envoy stats, what does 'upstream_rq_timeout' represent?

A.The average time of all requests.
B.The total number of upstream connections.
C.The number of requests that exceeded the timeout to an upstream service.
D.The number of successful requests.
AnswerC

This is the standard Envoy metric for upstream request timeouts.

Why this answer

This metric indicates the number of requests that timed out while waiting for a response from the upstream service.

105
Multi-Selecthard

Which THREE of the following are valid ways to control egress traffic in Istio?

Select 3 answers
A.Sidecar resource with egress policy
B.Egress Gateway
C.Kiali Dashboard
D.ServiceEntry
E.PeerAuthentication
AnswersA, B, D

Limits the services visible to the sidecar.

Why this answer

Egress control can be achieved via mesh-level configuration, gateway-based routing, or sidecar-level restrictions.

106
MCQhard

How do you implement a circuit breaker to eject a pod that returns 5xx errors?

A.DestinationRule outlierDetection
B.PeerAuthentication
C.VirtualService fault injection
D.VirtualService retry policy
AnswerA

OutlierDetection is the mechanism for ejecting unhealthy hosts.

Why this answer

OutlierDetection within the DestinationRule manages circuit breaking by ejecting unhealthy instances.

107
Multi-Selecthard

What are valid fields in the VirtualService 'http' route? (Choose TWO)

Select 2 answers
A.mTLS
B.podSelector
C.match
D.tls
E.route
AnswersC, E

Valid field.

Why this answer

VirtualService route blocks use 'route' and 'match'.

108
MCQmedium

You want to access an external API (e.g., api.google.com) from within your mesh. What must you configure?

A.DestinationRule
B.ServiceEntry
C.VirtualService
D.EnvoyFilter
AnswerB

ServiceEntry registers external hosts.

Why this answer

ServiceEntry allows adding entries to the Istio internal service registry for external endpoints.

109
MCQmedium

You have a global PeerAuthentication policy. What is the effect of applying a new PeerAuthentication policy in the 'default' namespace with no selector?

A.It is ignored.
B.It crashes the global policy.
C.It overrides the global policy for all workloads in the 'default' namespace.
D.It merges with the global policy.
AnswerC

Namespaced policy has precedence over global.

Why this answer

Namespaced policies override global ones within that namespace. A policy with no selector applies to all workloads in that namespace.

110
MCQmedium

You are testing resilience. You want to inject an HTTP 503 error for 20% of traffic to the 'catalog' service. Which fault setting is correct?

A.abort: { code: 503, percent: 20 }
B.abort: { status: 503, percentage: { value: 20 } }
C.fault: { abort: 503, rate: 0.2 }
D.abort: { status: 503, ratio: 0.2 }
E.error: { status: 503, percentage: 20 }
AnswerB

Correct structure for abort fault injection.

Why this answer

The fault injection abort policy requires an HTTP status code and a percentage.

111
MCQhard

A service is returning 5xx errors frequently. You want to eject instances that return 5 consecutive 5xx errors. Which OutlierDetection setting is required?

A.consecutive5xx: 5
B.interval: 5s
C.maxEjectionPercent: 5
D.consecutiveErrors: 5
E.baseEjectionTime: 5s
AnswerA

This accurately defines the threshold for consecutive 5xx responses before ejection.

Why this answer

consecutive5xx is the field used to trigger ejection based on the count of 5xx errors.

112
MCQhard

You need to inspect the envoy config for a specific pod. Which command do you use?

A.istioctl get config
B.kubectl get proxy
C.istioctl proxy-config all
D.istioctl inspect
AnswerC

proxy-config all shows full proxy state.

Why this answer

istioctl proxy-config all <pod-name> shows all configuration for that proxy.

113
Multi-Selecteasy

Which THREE are types of traffic management patterns?

Select 3 answers
A.Canary deployment
B.Circuit breaking
C.Traffic mirroring
D.Namespace isolation
E.Database sharding
AnswersA, B, C

Supported pattern.

Why this answer

Canary deployments, traffic mirroring, and circuit breaking are all core Istio patterns.

114
Multi-Selecthard

Which THREE conditions must be met for a PeerAuthentication policy to enforce STRICT mTLS?

Select 3 answers
A.Sidecar sidecar-injection enabled
B.Namespace must be 'default'
C.Service must be exposed via NodePort
D.PeerAuthentication mode set to STRICT
E.Certificate provisioning is healthy
AnswersA, D, E

The proxy must be present.

Why this answer

STRICT mode requires an Istio-enabled sidecar, the PeerAuthentication mode set to STRICT, and the absence of conflicting policies.

115
MCQmedium

Which field defines how long an ejected pod remains out of the rotation?

A.maxEjectionPercent
B.baseEjectionTime
C.interval
D.minHealthPercent
E.consecutive5xx
AnswerB

This field specifies the length of the ejection period.

Why this answer

baseEjectionTime determines the duration an instance is excluded from the load balancing pool.

116
Multi-Selecthard

Which THREE actions are required to successfully secure a workload using OIDC and JWT authentication in Istio?

Select 3 answers
A.Apply a PeerAuthentication resource with mode STRICT.
B.Define a RequestAuthentication resource specifying the issuer and jwksUri.
C.Create an EnvoyFilter to parse the JWT.
D.Ensure the application client sends the JWT in the 'Authorization: Bearer <token>' header.
E.Use an AuthorizationPolicy to validate specific claims like 'iss' or 'sub'.
AnswersB, D, E

This tells Istio how to validate the JWT.

Why this answer

To use JWT, you must define a RequestAuthentication policy, ensure the workload accepts the token, and use an AuthorizationPolicy to enforce 'DENY' or 'ALLOW' based on claims.

117
Multi-Selectmedium

Which of the following are valid traffic management components in Istio? (Choose TWO)

Select 2 answers
A.ClusterRole
B.Deployment
C.VirtualService
D.ServiceAccount
E.DestinationRule
AnswersC, E

Valid component.

Why this answer

VirtualService and DestinationRule are the core traffic management resources.

118
MCQeasy

What protocol does the Gateway resource support?

A.Only HTTP
B.Only TCP
C.HTTP, HTTPS, GRPC, and TCP
D.Only TLS
AnswerC

Gateways are protocol-agnostic for the defined ports.

Why this answer

Gateways support HTTP, HTTPS, GRPC, and TCP protocols.

119
Multi-Selectmedium

Which TWO Istio components can be configured via the 'spec.components' section in IstioOperator?

Select 2 answers
A.pilot
B.ingressGateways
C.prometheus
D.kiali
E.jaeger
AnswersA, B

Istiod is a core component.

Why this answer

Both 'pilot' (the core control plane) and 'ingressGateways' are core components configurable under 'spec.components'.

120
Multi-Selecteasy

Which TWO of the following are valid connectionPool fields?

Select 2 answers
A.udp
B.smtp
C.tcp
D.ftp
E.http
AnswersC, E

Defines TCP pooling.

Why this answer

http and tcp are the base protocol pools.

121
MCQeasy

Which resource is used to provide a unified entry point for multiple services?

A.ServiceEntry
B.Gateway
C.VirtualService
D.EnvoyFilter
AnswerB

Gateway is the standard ingress controller.

Why this answer

A Gateway resource, when combined with a VirtualService, provides a single ingress point.

122
Multi-Selectmedium

Which TWO of the following are true regarding PeerAuthentication policies?

Select 2 answers
A.They cannot be used with sidecar-less ambient mode.
B.They must be applied in the 'istio-system' namespace to work globally.
C.They validate JWT tokens.
D.They support the 'DENY' action.
E.The 'mode' can be set to 'STRICT' or 'PERMISSIVE'.
AnswersB, E

Global policy requires root namespace deployment.

Why this answer

They can be applied at mesh, namespace, or workload level, and the mode can be STRICT or PERMISSIVE.

123
Multi-Selecthard

When planning an Istio upgrade, which THREE steps are critical for a canary upgrade strategy?

Select 3 answers
A.Install the new version as a separate revision
B.Update the 'istio.io/rev' label on the target namespace
C.Perform an in-place upgrade of the existing istiod
D.Delete the old IstioOperator CR
E.Restart the application pods in the namespace
AnswersA, B, E

Required for parallel control planes.

Why this answer

Canary upgrades require installing a new revision, updating the namespace label, and then performing a rolling restart of the application pods.

124
MCQmedium

You want to allow traffic only from a specific namespace 'prod' to the 'backend' service. How should you define the 'AuthorizationPolicy'?

A.Set source.principals: ['prod'] in the rule.
B.Set source.namespaces: ['prod'] in the rule.
C.Set source.ipBlocks: ['prod'] in the rule.
D.Set source.remoteIp: ['prod'] in the rule.
AnswerB

This correctly filters requests originating from the prod namespace.

Why this answer

AuthorizationPolicy uses the 'source' field to restrict traffic by namespace using the 'namespaces' attribute.

125
Multi-Selectmedium

Which THREE items can you configure in a VirtualService to improve resilience?

Select 3 answers
A.Retries
B.Connection Pool
C.Timeouts
D.Outlier Detection
E.Fault Injection
AnswersA, C, E

Handles transient failures.

Why this answer

Timeouts, Retries, and Fault Injection are all controlled within a VirtualService.

126
MCQmedium

You need to ensure that traffic is only routed to healthy pods. What feature does this?

A.DestinationRule outlierDetection
B.ServiceEntry registry
C.PeerAuthentication
D.VirtualService weight
AnswerA

Outlier detection tracks and ejects unhealthy hosts.

Why this answer

Outlier detection in DestinationRule ejects unhealthy hosts from the load balancing pool.

127
MCQmedium

How do you specify a header-based match in a VirtualService?

A.In the 'subset' policy
B.In the 'destination' block
C.In the 'subset' definition
D.In the 'match' block
AnswerD

Match conditions are defined in the match block of the route.

Why this answer

The 'match' field allows conditions like 'headers' to be evaluated.

128
Multi-Selectmedium

Which TWO of the following are true regarding the RequestAuthentication resource?

Select 2 answers
A.It enforces that the request MUST have a JWT token.
B.It can be applied to specific workloads using a selector.
C.It handles the issuance of JWT tokens.
D.It replaces the need for PeerAuthentication.
E.It can be applied at the namespace level to cover all services in that namespace.
AnswersB, E

Selectors allow granular policy targeting.

Why this answer

RequestAuthentication is used to validate JWTs and can be applied at the namespace or workload level.

129
Multi-Selecthard

Which THREE settings are required in a VirtualService for a canary deployment?

Select 3 answers
A.tcp
B.http routes
C.tls
D.weight
E.hosts
AnswersB, D, E

Routes define the destination subsets.

Why this answer

Canary deployments require host definition, http/tcp route definitions, and weight assignments.

130
MCQeasy

What does the 'jwksUri' field in a RequestAuthentication resource define?

A.The URL to register the application.
B.The URL to fetch the public keys for JWT validation.
C.The location where JWTs are stored.
D.The address of the Identity Provider login page.
AnswerB

This is the definition of a JWKS URI.

Why this answer

The jwksUri specifies the endpoint where the JWT issuer publishes its public keys, used by Istio to verify the token signature.

131
Multi-Selectmedium

When configuring a Gateway API resource, which TWO properties are defined within the 'listeners' block?

Select 2 answers
A.Request retries
B.Port
C.Circuit breaker policy
D.Protocol
E.Service account
AnswersB, D

Defines which port the gateway listens on.

Why this answer

Listeners define the protocol, port, and hostname bindings for the gateway.

132
MCQmedium

What is the function of the 'weight' parameter in a VirtualService route?

A.To specify the TTL of a request
B.To split traffic between multiple destinations
C.To limit bandwidth usage
D.To set the priority of a rule
AnswerB

Weight defines the traffic distribution percentage.

Why this answer

Weight determines the percentage of traffic directed to a specific destination.

133
MCQmedium

You are using Kiali to debug a service mesh. You notice a red line between two services. What does this indicate?

A.The services are located in different clusters.
B.The traffic is encountering high error rates or being blocked by an Istio policy.
C.The service is not part of the mesh.
D.The connection is encrypted using mTLS.
AnswerB

Kiali uses color coding to visualize health status; red indicates failures or policy rejections.

Why this answer

In Kiali, a red line indicates that traffic is failing or being rejected by an Istio policy.

134
Multi-Selecthard

Which THREE actions occur when you label a namespace with 'istio-injection=enabled'?

Select 3 answers
A.New pods created in the namespace are injected with a sidecar
B.The mutation webhook is configured to watch this namespace
C.The istiod deployment is scaled up
D.The sidecar injector webhook adds the proxy container to new pods
E.All existing pods are immediately restarted
AnswersA, B, D

This is the primary function.

Why this answer

The webhook controller is notified, existing pods are not affected, but new pods will have the sidecar injected automatically.

135
MCQhard

You want to limit the total number of concurrent connections to a service. Where is this defined?

A.DestinationRule
B.AuthorizationPolicy
C.Gateway
D.VirtualService
AnswerA

connectionPool handles connection limits.

Why this answer

connectionPool settings in the DestinationRule control connection limits.

136
MCQmedium

Which attribute can be used in an AuthorizationPolicy to verify that the request was made via mTLS?

A.destination.port
B.source.principal
C.connection.mtls
D.request.auth.principal
AnswerB

If 'source.principal' is present, the connection is authenticated via mTLS.

Why this answer

The 'source.principal' attribute is only populated if the connection is authenticated via mTLS, making it a reliable way to verify mTLS use.

137
Multi-Selectmedium

Which of these are valid sub-commands for istioctl? (Choose TWO)

Select 2 answers
A.restart
B.analyze
C.proxy-config
D.start
E.debug
AnswersB, C

Valid command.

Why this answer

istioctl analyze and istioctl proxy-config are valid commands.

138
Multi-Selecthard

Which THREE things happen when a request fails and a retry policy is active?

Select 3 answers
A.Ejects the host immediately.
B.Checks if the error code matches 'retryOn'.
C.Attempts the request again.
D.Waits for the specified backoff period.
E.Opens the circuit breaker.
AnswersB, C, D

Validates if the retry is allowed.

Why this answer

The sidecar checks the retry condition, waits for the backoff, and attempts the request again until the limit.

139
Multi-Selectmedium

Which THREE of the following are valid fields in a 'retry' policy?

Select 3 answers
A.perTryTimeout
B.retryOn
C.attempts
D.backoff
E.maxDuration
.maxRetries
AnswersA, B, C

Timeout for each retry.

Why this answer

attempts, perTryTimeout, and retryOn are common retry policy fields.

140
MCQhard

How do you define a regex match in a VirtualService?

A.uri-regex
B.match-regex
C.regex field
D.pattern field
AnswerC

Standard field for regex.

Why this answer

The match block URI uses the 'regex' field for pattern matching.

141
Multi-Selecthard

Which parameters can be configured in a VirtualService retry policy? (Choose TWO)

Select 2 answers
A.maxConnections
B.attempts
C.connectionPool
D.outlierDetection
E.perTryTimeout
AnswersB, E

Valid parameter.

Why this answer

attempts and perTryTimeout are the primary fields for retry policies.

142
MCQhard

What is the purpose of the 'PILOT_ENABLE_MTLS_OVERRIDE' environment variable in istiod?

A.Forces mTLS on all traffic.
B.Disables mTLS for testing.
C.Enables certificate rotation.
D.Allows legacy sidecars to override mTLS settings.
AnswerD

This was historically used to provide granular control before mature AuthorizationPolicies were available.

Why this answer

This is a deprecated or legacy setting, but in specific contexts, it was used to allow sidecars to override global mTLS settings, though modern versions prefer AuthorizationPolicies.

143
MCQmedium

You have a namespace 'prod' and you need to ensure that all workloads in this namespace only accept mutual TLS (mTLS) encrypted traffic. What is the most effective way to configure this?

A.Apply a DestinationRule with trafficPolicy.tls.mode set to ISTIO_MUTUAL.
B.Apply a global MeshConfig setting to enforce mTLS.
C.Apply a PeerAuthentication resource with spec.mtls.mode set to STRICT in the 'prod' namespace.
D.Create an AuthorizationPolicy that denies all traffic without a client certificate.
AnswerC

Setting the mode to STRICT ensures that only mTLS traffic is accepted.

Why this answer

A PeerAuthentication policy scoped to the namespace with mode set to STRICT ensures all sidecars in that namespace enforce mTLS.

144
MCQeasy

What does an AuthorizationPolicy's 'operation' field represent?

A.HTTP methods and paths.
B.Certificate details.
C.IP addresses.
D.User identities.
AnswerA

Used for layer 7 traffic control.

Why this answer

The operation field defines the methods (GET, POST) and paths allowed or denied.

145
Multi-Selectmedium

What are the primary ways to limit traffic to a service? (Choose TWO)

Select 2 answers
A.VirtualService
B.Gateway
C.ServiceEntry
D.Sidecar
E.DestinationRule
AnswersA, E

Routing.

Why this answer

You can use VirtualService (for routing) and DestinationRule (for circuit breaking/load balancing).

146
Multi-Selecthard

Which THREE items are required to successfully authenticate a user via JWT in Istio?

Select 3 answers
A.A PeerAuthentication resource.
B.A Kubernetes ServiceAccount per user.
C.The 'audiences' field to restrict token scope.
D.The 'jwksUri' field pointing to the public key set.
E.The 'issuer' field in RequestAuthentication.
AnswersC, D, E

Optional but highly recommended for security.

Why this answer

You need the issuer URL, the JWKS URI, and the audience to validate the JWT correctly.

147
MCQeasy

Which component in Istio is responsible for collecting telemetry data and sending it to observability tools like Prometheus?

A.Envoy
B.Telemetry
C.Jaeger
D.Kiali
AnswerB

The Telemetry resource in Istio manages metrics and tracing collection.

Why this answer

The Istio Telemetry component, often integrated into the sidecar and processed by the Istio control plane, handles data collection.

148
MCQmedium

When using JWT authentication, where does the Istio sidecar fetch the public key (JWKS) required for token verification?

A.The sidecar fetches it directly from the URL specified in the 'jwksUri' field of the RequestAuthentication resource.
B.It is hardcoded in the Envoy binary.
C.The Istio Control Plane (istiod) fetches it and pushes it to the sidecar.
D.The user must manually upload the public key as a Kubernetes Secret.
AnswerA

The sidecar directly queries the JWKS endpoint.

Why this answer

The sidecar automatically fetches the JWKS from the URL defined in the 'jwksUri' field within the RequestAuthentication policy.

149
MCQeasy

An application is experiencing intermittent errors. You decide to use outlier detection to eject unhealthy pods. Which field in the DestinationRule controls the ejection of hosts after a certain number of 5xx errors?

A.baseEjectionTime
B.interval
C.consecutive5xxErrors
D.maxConnections
AnswerC

This is the correct field for triggering host ejection based on error counts.

Why this answer

The 'consecutive5xxErrors' field in the 'outlierDetection' section of a DestinationRule is used to eject unhealthy hosts.

150
MCQhard

In a multi-primary deployment, you want to ensure that traffic between clusters is encrypted via mTLS. Which resource must be configured on both clusters?

A.A shared 'cacerts' secret containing the root CA certificate.
B.A ServiceEntry with 'resolution: DNS'.
C.An AuthorizationPolicy allowing all traffic.
D.An EgressGateway with TLS origination.
AnswerA

All clusters must trust the same root CA to validate identities across cluster boundaries.

Why this answer

For multi-cluster mTLS, a shared root CA (or identical intermediate CA) must be configured in the 'cacerts' secret within the istio-system namespace.

Page 1

Page 2 of 4

Page 3

All pages