exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 1 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 1
Topic #: 1
[All Professional Cloud Architect Questions]

Your company has decided to make a major revision of their API in order to create better experiences for their developers. They need to keep the old version of the API available and deployable, while allowing new customers and testers to try out the new API. They want to keep the same SSL and DNS records in place to serve both APIs.
What should they do?

  • A. Configure a new load balancer for the new version of the API
  • B. Reconfigure old clients to use a new endpoint for the new API
  • C. Have the old API forward traffic to the new API based on the path
  • D. Use separate backend pools for each API path behind the load balancer
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
shandy
Highly Voted 7 months, 2 weeks ago
D is the answer because HTTP(S) load balancer can direct traffic reaching a single IP to different backends based on the incoming URL. A is not correct because configuring a new load balancer would require a new or different SSL and DNS records which conflicts with the requirements to keep the same SSL and DNS records. B is not correct because it goes against the requirements. The company wants to keep the old API available while new customers and testers try the new API. C is not correct because it is not a requirement to decommission the implementation behind the old API. Moreover, it introduces unnecessary risk in case bugs or incompatibilities are discovered in the new API.
upvoted 108 times
AzureDP900
2 years, 6 months ago
D is right
upvoted 3 times
...
...
AWS56
Highly Voted 5 years, 5 months ago
agreed, The answer is D
upvoted 20 times
...
WakandaF
Most Recent 1 month, 4 weeks ago
Selected Answer: D
I need to perform the Google Architect Renew. There's a Google release of one Architect certification called "Professional Cloud Architect Renewal." I would like to know if the Google Architect certification available on this site covers these renewal questions. Thanks in advance. https://services.google.com/fh/files/misc/pca_renewal_exam_overview_and_faqs.pdf CQ
upvoted 1 times
...
j_vish
2 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
biplabid
2 months, 2 weeks ago
Selected Answer: D
Answer is D. Using a HTTPS load balancer for different backend makes sense as we dont want to disturb the old API setup and also want to test new API
upvoted 1 times
...
Test88888
2 months, 2 weeks ago
Selected Answer: D
Can anybody tell if these here question are still in the current exam?
upvoted 1 times
...
XiaobinJiang
4 months, 1 week ago
Selected Answer: D
D is right!
upvoted 1 times
...
FI22
4 months, 3 weeks ago
Selected Answer: D
D is good for keep the same records.
upvoted 1 times
...
Ghorbel
5 months ago
Selected Answer: D
Using separate backend pools for each API version behind a single load balancer fulfills all requirements: Single SSL and DNS Endpoint: Both API versions share the same SSL certificate and DNS records, so users and developers don’t need to reconfigure their endpoints. The load balancer handles routing transparently. Separation of APIs: Different backend pools allow for clear segregation between the old and new API versions. Each API can be deployed, updated, and scaled independently. Traffic Management: The load balancer can route traffic based on request paths (e.g., /v1 for the old API and /v2 for the new API). This allows smooth coexistence of the APIs while developers gradually adopt the new version.
upvoted 1 times
...
ddatta
5 months, 2 weeks ago
Selected Answer: D
You have to split the traffic
upvoted 1 times
...
devenderpraksh
5 months, 2 weeks ago
Answer: D. Use separate backend pools for each API path behind the load balancer This is the correct option because: It maintains a single entry point with existing SSL/DNS Allows path-based routing to direct traffic appropriately Requires no client reconfiguration Provides clean separation between versions Follows common API versioning patterns
upvoted 1 times
...
Ekramy_Elnaggar
5 months, 3 weeks ago
The best answer here is D. Use separate backend pools for each API path behind the load balancer. Here's why: * Maintaining the same DNS and SSL records: This requirement implies that both API versions need to be accessible through the same domain and endpoint. * Separate backend pools: By using separate backend pools for each API version, the load balancer can direct traffic to the appropriate servers based on the request path. This allows for seamless co-existence of both versions without any conflict. * Flexibility and Control: This approach provides flexibility in managing traffic, allowing you to gradually shift users to the new API or run A/B testing.
upvoted 1 times
...
nhatpham
7 months, 2 weeks ago
You have a Compute Engine managed instance group that adds and removes Compute Engine instances from the group in response to the load on your application.The instances have a shutdown script that removes REDIS database entries associated with the instance.You see that many database entries have not been removed, and you suspect that the shutdown script is the problem.You need to ensure that the commands in the shutdown script are run reliably every time an instance is shut down. You create a Cloud Function to remove the database entries.What should you do next? A. Modify the shutdown script to wait for 30 seconds and then publish a message to a Pub/Sub queue. B. Modify the shutdown script to wait for 30 seconds before triggering the Cloud Function. C. Set up a Cloud Monitoring sink that triggers the Cloud Function after an instance removal log message arrives in Cloud logging D. Do not use the Cloud Function. Modify the shutdown script to restart if it has not completed in 30 seconds. what is your answer?
upvoted 2 times
pupi08
3 years, 1 month ago
c it's correct
upvoted 1 times
...
...
nhatpham
7 months, 2 weeks ago
Your company and one of its partners each have a Google cloud project in separate organizations.Your complny's project(prj-a) runs in virtual Private Cloud (vpc-a). The partner's project (prj-b) runs in vpc-b. There are two instances running on vpc-a and one instance running on vpc-b Subnets defined in both VPCs are not overlapping.You need to ensure that all instances communicate with each other via internal IPs minimizing latency and maximizing throughput.What should you do A.Set up a network peering between vpc-a and vpc-b B.Set up a VPN between vpc-a and vpc-b using cloud VPN C.Configure IAP TCP forwarding on the instance in vpc-b, and then launch the following gcloud command from one of the instances vpc-a gcloud: gcloud compute start-iap-tunnel INSTANCE_NAME_VPC_ --local-host-port=localhost:22 D. 1.Create an additional instance in vpc-a. 2.Create an additional instance in vpc-b. 3.Install OpenVPN in newly created instances 4.Configure a VPN tunnel between vpc-a and vpc-b and b with the help of OpenVPN. what is your answer?
upvoted 1 times
RGTest
2 years, 11 months ago
A. VPC peering
upvoted 2 times
...
...
nhatpham
7 months, 2 weeks ago
Your company has an application running on App engine that allows users to upload music files and share therm with other people .You want to allow users to upload files directly into Cloud storage from their browser session.The payload should not be passed through the backend. What should you do? A. Set a CORS configuration in the target Cloud storage bucket where the base URL of the App Engine application is an allowed origin.Use the Cloud Storage signed URL feature to generate a POST URL. B. Set a CORS configuration in the target cloud storage bucket where the base URL of the App Engine application is an allowed origin. Assign the Cloud Storage WRITER role to users who upload files. C. Use the Cloud Storage Signed URL feature to generate a POST URL.Use App Engine default credentials to sign requests against Cloud Storage. D. Assign the Cloud Storage WRITER role to users who upload files; use App Engine default credentials to sign requests against Cloud Storage. what is your answer?
upvoted 1 times
davidbilla
2 years, 11 months ago
Must be A
upvoted 1 times
...
MQQNB
2 years, 8 months ago
C. Use the Cloud Storage Signed URL feature to generate a POST URL
upvoted 1 times
...
snome
2 years, 5 months ago
A, The Cross Origin Resource Sharing (CORS) spec was developed by the World Wide Web Consortium (W3C) to remove the limit of Same Origin Policy. Cloud Storage supports this specification by allowing you to configure your buckets to support CORS. https://cloud.google.com/storage/docs/cross-origin Then for authentication I'll go with signed URL feature, it gives more security
upvoted 1 times
...
...
nhatpham
7 months, 2 weeks ago
You are deploying an application to Google Cloud. The of a system.The application in Google Cloud must communicate to private network with applications in a non-Google cloud environment The expected average throughput is 200 kbps.The business require ·as close to 100% system availability as possible ·cost optimization You need to design the connectivity between the business requirements. What should you provision? A. An HA Cloud VPN gateway connected with two tunnels to an on-premises VPN gateway. B. A single Cloud VPN gateway connected to an on-premises VPN gateway. C.Two Classic Cloud VPN gateways connected to two on-premises VPN gateways. Configure each classic cloud VPN gateway to have two tunnels,each connected to different on-premises VPN gateways. D. Two HA Cloud VPN gateways connected to two on-premises VPN gateways. Configure each HA Cloud VPN gateway to have two tunnels,each connected to different on-premises VPN gateways. what is your answer?
upvoted 1 times
Skr6266
3 years, 1 month ago
Option D seems to be the right one.. cloud.google.com/network-connectivity/docs/vpn/concepts/topologies#to_peer_vpn_gateways
upvoted 2 times
...
MQQNB
2 years, 8 months ago
I think it should be A. refer to the documentation, to have HA 99.99%, it needs at least 2 tunnels. And one HA VPN with one peer VPN could have 2 tunnels. In Google Cloud, the REDUNDANCY_TYPE for this configuration takes the value SINGLE_IP_INTERNALLY_REDUNDANT. D. not cost optimized B. didn't mention 2 tunnels C. not simple
upvoted 1 times
...
...
maxdanny
7 months, 2 weeks ago
Selected Answer: D
D because This approach allows you to keep the same SSL and DNS records while directing traffic based on the API path. The load balancer can be configured to route requests to different backend pools depending on whether the request is for the old or new API version. This ensures that both versions are accessible under the same domain, providing a seamless transition for both old and new users.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago