Free Professional Cloud Developer Exam Braindumps (page: 33)

Page 33 of 82

You have an application that uses an HTTP Cloud Function to process user activity from both desktop browser and mobile application clients. This function will serve as the endpoint for all metric submissions using HTTP POST.
Due to legacy restrictions, the function must be mapped to a domain that is separate from the domain requested by users on web or mobile sessions. The domain for the Cloud Function is https://fn.example.com. Desktop and mobile clients use the domain https://www.example.com. You need to add a header to the function's
HTTP response so that only those browser and mobile sessions can submit metrics to the Cloud Function.
Which response header should you add?

  1. Access-Control-Allow-Origin: *
  2. Access-Control-Allow-Origin: https://*.example.com
  3. Access-Control-Allow-Origin: https://fn.example.com
  4. Access-Control-Allow-origin: https://www.example.com

Answer(s): D



You have an HTTP Cloud Function that is called via POST. Each submission's request body has a flat, unnested JSON structure containing numeric and text data. After the Cloud Function completes, the collected data should be immediately available for ongoing and complex analytics by many users in parallel. How should you persist the submissions?

  1. Directly persist each POST request's JSON data into Datastore.
  2. Transform the POST request's JSON data, and stream it into BigQuery.
  3. Transform the POST request's JSON data, and store it in a regional Cloud SQL cluster.
  4. Persist each POST request's JSON data as an individual file within Cloud Storage, with the file name containing the request identifier.

Answer(s): B



Your security team is auditing all deployed applications running in Google Kubernetes Engine. After completing the audit, your team discovers that some of the applications send traffic within the cluster in clear text. You need to ensure that all application traffic is encrypted as quickly as possible while minimizing changes to your applications and maintaining support from Google.
What should you do?

  1. Use Network Policies to block traffic between applications.
  2. Install Istio, enable proxy injection on your application namespace, and then enable mTLS.
  3. Define Trusted Network ranges within the application, and configure the applications to allow traffic only from those networks.
  4. Use an automated process to request SSL Certificates for your applications from Let's Encrypt and add them to your applications.

Answer(s): B



You migrated some of your applications to Google Cloud. You are using a legacy monitoring platform deployed on-premises for both on-premises and cloud- deployed applications. You discover that your notification system is responding slowly to time-critical problems in the cloud applications.
What should you do?

  1. Replace your monitoring platform with Cloud Monitoring.
  2. Install the Cloud Monitoring agent on your Compute Engine instances.
  3. Migrate some traffic back to your old platform. Perform A/B testing on the two platforms concurrently.
  4. Use Cloud Logging and Cloud Monitoring to capture logs, monitor, and send alerts. Send them to your existing platform.

Answer(s): D



Page 33 of 82



Post your Comments and Discuss Google Professional Cloud Developer exam with other Community members:

DaveP commented on November 19, 2023
Some of these answers are wrong according to the Google sample questions.
UNITED STATES
upvote

devansh commented on June 21, 2023
does anyone recently took the exam , i have it in 2 days , are these dumps only enough for the prep?
Anonymous
upvote