ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 2 - Professional Cloud DevOps Engineer discussion

Report
Export

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?

A.
Decrease the acknowledgment deadline on the subscription
Answers
A.
Decrease the acknowledgment deadline on the subscription
B.
Add a virtual queue to the online store that allows typical traffic levels
Answers
B.
Add a virtual queue to the online store that allows typical traffic levels
C.
Increase the number of Pod replicas
Answers
C.
Increase the number of Pod replicas
D.
Increase the Pod CPU and memory limits
Answers
D.
Increase the Pod CPU and memory limits
Suggested answer: C

Explanation:

The best option for ensuring that the warehouse system accurately reflects product inventory at the time orders are placed and minimizing the impact on customers is to increase the number of Pod replicas. Increasing the number of Pod replicas will increase the scalability and availability of your microservice, which will allow it to handle more Pub/Sub messages and update stock information faster. This way, you can reduce the backlog of undelivered messages and oldest unacknowledged message age, which are causing delays in updating product inventory. You can use Horizontal Pod Autoscaler or Cloud Monitoring metrics-based autoscaling to automatically adjust the number of Pod replicas based on load or custom metrics.

asked 18/09/2024
Tiziano Riezzo
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first