PROFESSIONAL-CLOUD-DEVELOPER · Question #381
PROFESSIONAL-CLOUD-DEVELOPER Question #381: Real Exam Question with Answer & Explanation
The correct answer is C: Add a global external Application Load Balancer in front of the service, and configure a DNS. Using a global external Application Load Balancer allows you to serve your Cloud Run service behind a custom domain with flexible routing and SSL support, following Google-recommended best practices for production workloads.
Question
Your company is planning a global event. You need to configure an event registration portal for the event. You have decided to deploy the registration service by using Cloud Run. Your company's marketing team does not want to advertise the Cloud Run service URL. They want the registration portal to be accessed by using a personalized hostname or path in your custom domain URL pattern, for example, <service>.example.com. How should you configure access to the service while following Google-recommended practices?
Options
- AConfigure Cloud Armor to block traffic on the Cloud Run service URL and allow reroutes from
- BSet up an HAProxy on Compute Engine, and add routing rules for a custom domain to the Cloud
- CAdd a global external Application Load Balancer in front of the service, and configure a DNS
- DCreate a CNAME record that points to the Cloud Run service URL.
Explanation
Using a global external Application Load Balancer allows you to serve your Cloud Run service behind a custom domain with flexible routing and SSL support, following Google-recommended best practices for production workloads.
Topics
Community Discussion
No community discussion yet for this question.