You want to deploy a serverless app and route a small percentage of production traffic to a new version for testing. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Deploy to Cloud Run and use gradual rollouts for traffic splitting..
Why this is the answer
Cloud Run is ideal for serverless containerized applications and natively supports traffic splitting (gradual rollouts) for A/B testing or canary deployments. This allows you to route a small percentage of traffic to a new version without impacting the majority of users. GKE with Anthos Service Mesh is a powerful option but is more complex and not strictly serverless. Cloud Functions are serverless but lack built-in traffic splitting capabilities; including a version in the name doesn't facilitate traffic routing. App Engine allows multiple versions, but traffic splitting is typically done at the service level, not as granularly or as seamlessly as Cloud Run's gradual rollouts for containerized apps.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed