Free Professional Cloud Developer Exam Braindumps
Professional Cloud Developer Questions 111–115 (page: 24)

Updated On: 10-Feb-2026

You manage an application that runs in a Compute Engine instance. You also have multiple backend services executing in stand-alone Docker containers running in Compute Engine instances. The Compute Engine instances supporting the backend services are scaled by managed instance groups in multiple regions. You want your calling application to be loosely coupled. You need to be able to invoke distinct service implementations that are chosen based on the value of an HTTP header found in the request. Which Google Cloud feature should you use to invoke the backend services?

  1. Traffic Director
  2. Service Directory
  3. Anthos Service Mesh
  4. Internal HTTP(S) Load Balancing

Answer(s): D



Your team is developing an ecommerce platform for your company. Users will log in to the website and add items to their shopping cart. Users will be automatically logged out after 30 minutes of inactivity. When users log back in, their shopping cart should be saved. How should you store users’ session and shopping cart information while following Google-recommended best practices?

  1. Store the session information in Pub/Sub, and store the shopping cart information in Cloud SQL.
  2. Store the shopping cart information in a file on Cloud Storage where the filename is the SESSION ID.
  3. Store the session and shopping cart information in a MySQL database running on multiple Compute Engine instances.
  4. Store the session information in Memorystore for Redis or Memorystore for Memcached, and store the shopping cart information in Firestore.

Answer(s): A



You are designing a resource-sharing policy for applications used by different teams in a Google Kubernetes Engine cluster. You need to ensure that all applications can access the resources needed to run. What should you do? (Choose two.)

  1. Specify the resource limits and requests in the object specifications.
  2. Create a namespace for each team, and attach resource quotas to each namespace.
  3. Create a LimitRange to specify the default compute resource requirements for each namespace.
  4. Create a Kubernetes service account (KSA) for each application, and assign each KSA to the namespace.
  5. Use the Anthos Policy Controller to enforce label annotations on all namespaces. Use taints and tolerations to allow resource sharing for namespaces.

Answer(s): A,B



You are developing a new application that has the following design requirements:

•Creation and changes to the application infrastructure are versioned and auditable.
•The application and deployment infrastructure uses Google-managed services as much as possible.
•The application runs on a serverless compute platform.

How should you design the application’s architecture?


  1. 1. Store the application and infrastructure source code in a Git repository.
    2. Use Cloud Build to deploy the application infrastructure with Terraform.
    3. Deploy the application to a Cloud Function as a pipeline step.

  2. 1. Deploy Jenkins from the Google Cloud Marketplace, and define a continuous integration pipeline in Jenkins.
    2. Configure a pipeline step to pull the application source code from a Git repository.
    3. Deploy the application source code to App Engine as a pipeline step.

  3. 1. Create a continuous integration pipeline on Cloud Build, and configure the pipeline to deploy the application infrastructure using Deployment Manager templates.
    2. Configure a pipeline step to create a container with the latest application source code.
    3. Deploy the container to a Compute Engine instance as a pipeline step.

  4. 1. Deploy the application infrastructure using gcloud commands.
    2. Use Cloud Build to define a continuous integration pipeline for changes to the application source code.
    3. Configure a pipeline step to pull the application source code from a Git repository, and create a containerized application.
    4. Deploy the new container on Cloud Run as a pipeline step.

Answer(s): D


Reference:

https://cloud.google.com/docs/ci-cd



You are creating and running containers across different projects in Google Cloud. The application you are developing needs to access Google Cloud services from within Google Kubernetes Engine (GKE). What should you do?

  1. Assign a Google service account to the GKE nodes.
  2. Use a Google service account to run the Pod with Workload Identity.
  3. Store the Google service account credentials as a Kubernetes Secret.
  4. Use a Google service account with GKE role-based access control (RBAC).

Answer(s): A



Viewing page 24 of 52
Viewing questions 116 - 120 out of 379 questions


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

AI Tutor AI Tutor 👋 I’m here to help!