Topic 1 Question 94
You are the on-call Site Reliability Engineer for a microservice that is deployed to a Google Kubernetes Engine (GKE) Autopilot cluster. Your company runs an online store that publishes order messages to Pub/Sub, and a microservice receives these messages and updates stock information in the warehousing system. A sales event caused an increase in orders, and the stock information is not being updated quickly enough. This is causing a large number of orders to be accepted for products that are out of stock. You check the metrics for the microservice and compare them to typical levels:
You need to ensure that the warehouse system accurately reflects product inventory at the time orders are placed and minimize the impact on customers. What should you do?
Decrease the acknowledgment deadline on the subscription.
Add a virtual queue to the online store that allows typical traffic levels.
Increase the number of Pod replicas.
Increase the Pod CPU and memory limits.
ユーザの投票
コメント(5)
- 正解だと思う選択肢: C
Agree with C as answer.
👍 5activist2023/10/16 B for sure.
👍 1PGontijo2023/10/23- 正解だと思う選択肢: C
The average acknowledgement latency from Pub/Sub has not significantly increased, which suggests that Pub/Sub is still able to handle the message load effectively. However, the significant increase in the oldest unacknowledged message age and the number of undelivered messages indicates that the pods are not processing the messages quickly enough.
Increasing the number of Pod replicas would allow your microservice to process more messages concurrently, reducing the backlog and ensuring that stock information is updated more quickly.
👍 1Andrei_Z2023/11/25
シャッフルモード