Google Cloud Associate Cloud Engineer — Question 291

You have an application that is currently processing transactions by using a group of managed VM instances. You need to migrate the application so that it is serverless and scalable. You want to implement an asynchronous transaction processing system, while minimizing management overhead. What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because using Pub/Sub allows for an efficient and scalable way to handle asynchronous transactions, while Cloud Run provides a serverless environment to process those transactions. Options A and D involve installing Kafka on VM instances, which adds unnecessary management overhead and does not provide the desired serverless architecture. Option B also fails to meet the serverless requirement as it still relies on VM instances for processing.