Free Professional Cloud Developer Exam Braindumps (page: 32)

Page 32 of 82

You are developing an ecommerce web application that uses App Engine standard environment and Memorystore for Redis.
When a user logs into the app, the application caches the user's information (e.g., session, name, address, preferences), which is stored for quick retrieval during checkout.
While testing your application in a browser, you get a 502 Bad Gateway error. You have determined that the application is not connecting to Memorystore.
What is the reason for this error?

  1. Your Memorystore for Redis instance was deployed without a public IP address.
  2. You configured your Serverless VPC Access connector in a different region than your App Engine instance.
  3. The firewall rule allowing a connection between App Engine and Memorystore was removed during an infrastructure update by the DevOps team.
  4. You configured your application to use a Serverless VPC Access connector on a different subnet in a different availability zone than your App Engine instance.

Answer(s): B


Reference:

https://cloud.google.com/endpoints/docs/openapi/troubleshoot-response-errors



Your team develops services that run on Google Cloud. You need to build a data processing service and will use Cloud Functions. The data to be processed by the function is sensitive. You need to ensure that invocations can only happen from authorized services and follow Google-recommended best practices for securing functions.
What should you do?

  1. Enable Identity-Aware Proxy in your project. Secure function access using its permissions.
  2. Create a service account with the Cloud Functions Viewer role. Use that service account to invoke the function.
  3. Create a service account with the Cloud Functions Invoker role. Use that service account to invoke the function.
  4. Create an OAuth 2.0 client ID for your calling service in the same project as the function you want to secure. Use those credentials to invoke the function.

Answer(s): C


Reference:

https://medium.com/google-cloud/how-to-securely-invoke-a-cloud-function-from-google-kubernetes-engine-running-on-another-gcp-79797ec2b2c6



You are deploying your applications on Compute Engine. One of your Compute Engine instances failed to launch.
What should you do? (Choose two.)

  1. Determine whether your file system is corrupted.
  2. Access Compute Engine as a different SSH user.
  3. Troubleshoot firewall rules or routes on an instance.
  4. Check whether your instance boot disk is completely full.
  5. Check whether network traffic to or from your instance is being dropped.

Answer(s): A,D


Reference:

https://cloudacademy.com/course/deploying-applications-on-gcp-compute/deploying-applications-and-services-on-compute-engine/



Your web application is deployed to the corporate intranet. You need to migrate the web application to Google Cloud. The web application must be available only to company employees and accessible to employees as they travel. You need to ensure the security and accessibility of the web application while minimizing application changes.
What should you do?

  1. Configure the application to check authentication credentials for each HTTP(S) request to the application.
  2. Configure Identity-Aware Proxy to allow employees to access the application through its public IP address.
  3. Configure a Compute Engine instance that requests users to log in to their corporate account. Change the web application DNS to point to the proxy Compute Engine instance. After authenticating, the Compute Engine instance forwards requests to and from the web application.
  4. Configure a Compute Engine instance that requests users to log in to their corporate account. Change the web application DNS to point to the proxy Compute Engine instance. After authenticating, the Compute Engine issues an HTTP redirect to a public IP address hosting the web application.

Answer(s): B



Page 32 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