Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Developer Exam - Topic 5 Question 123 Discussion

You are responsible for deploying a new API. That API will have three different URL paths:* https://yourcompany.com/students* https://yourcompany.com/teachers* https://yourcompany.com/classesYou need to configure each API URL path to invoke a different function in your code. What should you do?
D) Create three Cloud Functions as three backend services exposed using an HTTPS load balancer.
A) Create one Cloud Function as a backend service exposed using an HTTPS load balancer.
B) Create three Cloud Functions exposed directly.
C) Create one Cloud Function exposed directly.

Google Professional Cloud Developer Exam - Topic 5 Question 123 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 123
Topic #: 5
[All Professional Cloud Developer Questions]

You are responsible for deploying a new API. That API will have three different URL paths:

* https://yourcompany.com/students

* https://yourcompany.com/teachers

* https://yourcompany.com/classes

You need to configure each API URL path to invoke a different function in your code. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: D

https://cloud.google.com/load-balancing/docs/https/setup-global-ext-https-serverless


Contribute your Thoughts:

0/2000 characters
Shawnee
2 days ago
Wait, are we really considering one function for all three paths?
upvoted 0 times
...
Kiley
7 days ago
I disagree, D seems more scalable for future needs.
upvoted 0 times
...
Benton
12 days ago
I think option B is the simplest approach.
upvoted 0 times
...
Hillary
17 days ago
I lean towards option B, but I wonder if there's a performance benefit to using an HTTPS load balancer with option D.
upvoted 0 times
...
Kandis
22 days ago
This question feels similar to one we practiced where we had to decide on the number of functions based on different endpoints.
upvoted 0 times
...
Anglea
28 days ago
I'm not entirely sure, but I remember something about using an HTTPS load balancer for better management.
upvoted 0 times
...
Dominga
1 month ago
I think we might need to create three separate Cloud Functions since each URL path has a different function to invoke.
upvoted 0 times
...

Save Cancel