Practice Free EX328 Exam Online Questions
Question #51
How do you deploy a complete dark launch strategy in OpenShift Service Mesh?
- A . See the Explanation.
Correct Answer: A
A
Explanation:
A
Explanation:
Question #51
How do you deploy a complete dark launch strategy in OpenShift Service Mesh?
- A . See the Explanation.
Correct Answer: A
A
Explanation:
A
Explanation:
Question #53
How do you simulate a header-based A/B test for mobile vs desktop users?
- A . See the Explanation.
Correct Answer: A
A
Explanation:
http:
– match:
– headers: user-agent:
regex: .*Mobile.* route:
– destination: host: frontend
subset: mobile-v2
– route:
– destination: host: frontend
subset: desktop-v1
A
Explanation:
http:
– match:
– headers: user-agent:
regex: .*Mobile.* route:
– destination: host: frontend
subset: mobile-v2
– route:
– destination: host: frontend
subset: desktop-v1
Question #53
How do you simulate a header-based A/B test for mobile vs desktop users?
- A . See the Explanation.
Correct Answer: A
A
Explanation:
http:
– match:
– headers: user-agent:
regex: .*Mobile.* route:
– destination: host: frontend
subset: mobile-v2
– route:
– destination: host: frontend
subset: desktop-v1
A
Explanation:
http:
– match:
– headers: user-agent:
regex: .*Mobile.* route:
– destination: host: frontend
subset: mobile-v2
– route:
– destination: host: frontend
subset: desktop-v1
Question #53
How do you simulate a header-based A/B test for mobile vs desktop users?
- A . See the Explanation.
Correct Answer: A
A
Explanation:
http:
– match:
– headers: user-agent:
regex: .*Mobile.* route:
– destination: host: frontend
subset: mobile-v2
– route:
– destination: host: frontend
subset: desktop-v1
A
Explanation:
http:
– match:
– headers: user-agent:
regex: .*Mobile.* route:
– destination: host: frontend
subset: mobile-v2
– route:
– destination: host: frontend
subset: desktop-v1
Question #56
How do you allow only the productpage app to call the details service?
- A . See the Explanation.
Correct Answer: A
A
Explanation:
apiVersion: security.istio.io/v1beta1 kind: AuthorizationPolicy metadata:
name: allow-productpage namespace: bookinfo
spec:
selector:
matchLabels:
app: details action: ALLOW rules:
– from:
– source:
principals: ["cluster.local/ns/bookinfo/sa/productpage"]
A
Explanation:
apiVersion: security.istio.io/v1beta1 kind: AuthorizationPolicy metadata:
name: allow-productpage namespace: bookinfo
spec:
selector:
matchLabels:
app: details action: ALLOW rules:
– from:
– source:
principals: ["cluster.local/ns/bookinfo/sa/productpage"]
Question #57
How do you configure a circuit breaker to prevent too many concurrent requests to a service?
- A . See the Explanation.
Correct Answer: A
A
Explanation:
Create a DestinationRule:
apiVersion: networking.istio.io/v1beta1 kind: DestinationRule
metadata:
name: ratings-cb namespace: bookinfo
spec:
host: ratings trafficPolicy: connectionPool:
http: http1MaxPendingRequests: 1
maxRequestsPerConnection: 1
A
Explanation:
Create a DestinationRule:
apiVersion: networking.istio.io/v1beta1 kind: DestinationRule
metadata:
name: ratings-cb namespace: bookinfo
spec:
host: ratings trafficPolicy: connectionPool:
http: http1MaxPendingRequests: 1
maxRequestsPerConnection: 1
Question #58
How do you configure retry logic with 3 attempts and 2-second timeout per try?
- A . See the Explanation.
Correct Answer: A
A
Explanation:
http:
– route:
– destination: host: ratings
retries:
attempts: 3 perTryTimeout: 2s
retryOn: gateway-error,connect-failure,refused-stream
A
Explanation:
http:
– route:
– destination: host: ratings
retries:
attempts: 3 perTryTimeout: 2s
retryOn: gateway-error,connect-failure,refused-stream
Question #59
How do you verify that outbound traffic is routed via Envoy sidecar?
- A . See the Explanation.
Correct Answer: A
A
Explanation:
A
Explanation:
Question #60
How can you restrict routing logic to apply only for HTTP POST methods?
- A . See the Explanation.
Correct Answer: A
A
Explanation:
http:
– match:
– method: exact: POST
route:
– destination: host: api
subset: write-v2
– route:
– destination: host: api subset: read-v1
A
Explanation:
http:
– match:
– method: exact: POST
route:
– destination: host: api
subset: write-v2
– route:
– destination: host: api subset: read-v1
