Exam Details

  • Exam Code
    :PROFESSIONAL-CLOUD-DEVELOPER
  • Exam Name
    :Professional Cloud Developer
  • Certification
    :Google Certifications
  • Vendor
    :Google
  • Total Questions
    :254 Q&As
  • Last Updated
    :May 16, 2024

Google Google Certifications PROFESSIONAL-CLOUD-DEVELOPER Questions & Answers

  • Question 41:

    You need to redesign the ingestion of audit events from your authentication service to allow it to handle a large increase in traffic. Currently, the audit service and the authentication system run in the same Compute Engine virtual machine.

    You plan to use the following Google Cloud tools in the new architecture:

    Multiple Compute Engine machines, each running an instance of the authentication service

    Multiple Compute Engine machines, each running an instance of the audit service

    Pub/Sub to send the events from the authentication services.

    How should you set up the topics and subscriptions to ensure that the system can handle a large volume of messages and can scale efficiently?

    A. Create one Pub/Sub topic. Create one pull subscription to allow the audit services to share the messages.

    B. Create one Pub/Sub topic. Create one pull subscription per audit service instance to allow the services to share the messages.

    C. Create one Pub/Sub topic. Create one push subscription with the endpoint pointing to a load balancer in front of the audit services.

    D. Create one Pub/Sub topic per authentication service. Create one pull subscription per topic to be used by one audit service.

    E. Create one Pub/Sub topic per authentication service. Create one push subscription per topic, with the endpoint pointing to one audit service.

  • Question 42:

    You are developing an ecommerce application that stores customer, order, and inventory data as relational tables inside Cloud Spanner. During a recent load test, you discover that Spanner performance is not scaling linearly as expected. Which of the following is the cause?

    A. The use of 64-bit numeric types for 32-bit numbers.

    B. The use of the STRING data type for arbitrary-precision values.

    C. The use of Version 1 UUIDs as primary keys that increase monotonically.

    D. The use of LIKE instead of STARTS_WITH keyword for parameterized SQL queries.

  • Question 43:

    You have an analytics application that runs hundreds of queries on BigQuery every few minutes using BigQuery API. You want to find out how much time these queries take to execute. What should you do?

    A. Use Stackdriver Monitoring to plot slot usage.

    B. Use Stackdriver Trace to plot API execution time.

    C. Use Stackdriver Trace to plot query execution time.

    D. Use Stackdriver Monitoring to plot query execution times.

  • Question 44:

    You have been tasked with planning the migration of your company's application from on-premises to Google Cloud. Your company's monolithic application is an ecommerce website. The application will be migrated to microservices deployed on Google Cloud in stages. The majority of your company's revenue is generated through online sales, so it is important to minimize risk during the migration. You need to prioritize features and select the first functionality to migrate. What should you do?

    A. Migrate the Product catalog, which has integrations to the frontend and product database.

    B. Migrate Payment processing, which has integrations to the frontend, order database, and third-party payment vendor.

    C. Migrate Order fulfillment, which has integrations to the order database, inventory system, and third-party shipping vendor.

    D. Migrate the Shopping cart, which has integrations to the frontend, cart database, inventory system, and payment processing system.

  • Question 45:

    You need to copy directory local-scripts and all of its contents from your local workstation to a Compute Engine virtual machine instance. Which command should you use?

    A. gsutil cp --project "my-gcp-project" -r ~/local-scripts/ gcp-instance-name:~/ server-scripts/ --zone "us-east1-b"

    B. gsutil cp --project "my-gcp-project" -R ~/local-scripts/ gcp-instance-name:~/ server-scripts/ --zone "us-east1-b"

    C. gcloud compute scp --project "my-gcp-project" --recurse ~/local-scripts/ gcpinstance-name:~/server-scripts/ --zone "us-east1-b"

    D. gcloud compute mv --project "my-gcp-project" --recurse ~/local-scripts/ gcpinstance-name:~/server-scripts/ --zone "us-east1-b"

  • Question 46:

    Your team develops stateless services that run on Google Kubernetes Engine (GKE). You need to deploy a new service that will only be accessed by other services running in the GKE cluster. The service will need to scale as quickly as possible to respond to changing load. What should you do?

    A. Use a Vertical Pod Autoscaler to scale the containers, and expose them via a ClusterIP Service.

    B. Use a Vertical Pod Autoscaler to scale the containers, and expose them via a NodePort Service.

    C. Use a Horizontal Pod Autoscaler to scale the containers, and expose them via a ClusterIP Service.

    D. Use a Horizontal Pod Autoscaler to scale the containers, and expose them via a NodePort Service.

  • Question 47:

    You are porting an existing Apache/MySQL/PHP application stack from a single machine to Google Kubernetes Engine. You need to determine how to containerize the application. Your approach should follow Google-recommended best practices for availability. What should you do?

    A. Package each component in a separate container. Implement readiness and liveness probes.

    B. Package the application in a single container. Use a process management tool to manage each component.

    C. Package each component in a separate container. Use a script to orchestrate the launch of the components.

    D. Package the application in a single container. Use a bash script as an entrypoint to the container, and then spawn each component as a background job.

  • Question 48:

    You are a developer working on an internal application for payroll processing. You are building a component of the application that allows an employee to submit a timesheet, which then initiates several steps:

    1.

    An email is sent to the employee and manager, notifying them that the timesheet was submitted.

    2.

    A timesheet is sent to payroll processing for the vendor's API.

    3.

    A timesheet is sent to the data warehouse for headcount planning.

    These steps are not dependent on each other and can be completed in any order. New steps are being considered and will be implemented by different development teams. Each development team will implement the error handling specific to their step. What should you do?

    A. Deploy a Cloud Function for each step that calls the corresponding downstream system to complete the required action.

    B. Create a Pub/Sub topic for each step. Create a subscription for each downstream development team to subscribe to their step's topic.

    C. Create a Pub/Sub topic for timesheet submissions. Create a subscription for each downstream development team to subscribe to the topic.

    D. Create a timesheet microservice deployed to Google Kubernetes Engine. The microservice calls each downstream step and waits for a successful response before calling the next step.

  • Question 49:

    Your company has deployed a new API to App Engine Standard environment. During testing, the API is not behaving as expected. You want to monitor the application over time to diagnose the problem within the application code without redeploying the application.

    Which tool should you use?

    A. Stackdriver Trace

    B. Stackdriver Monitoring

    C. Stackdriver Debug Snapshots

    D. Stackdriver Debug Logpoints

  • Question 50:

    You are parsing a log file that contains three columns: a timestamp, an account number (a string), and a transaction amount (a number). You want to calculate the sum of all transaction amounts for each unique account number efficiently. Which data structure should you use?

    A. A linked list

    B. A hash table

    C. A two-dimensional array

    D. A comma-delimited string

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Google exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PROFESSIONAL-CLOUD-DEVELOPER exam preparations and Google certification application, do not hesitate to visit our Vcedump.com to find your solutions here.