Authentic Google Professional-Cloud-Developer Exam Dumps PDF - Jan-2024 Updated
Professional-Cloud-Developer Dumps Special Discount for limited time Try FOR FREE
How to book Google Professional Cloud Developer Exams
The registration for the Google Professional Cloud Developer Exam follows the steps given below.
- Step 1: Visit the Google Cloud Webassessor Website
- Step 2: Sign in or sign up to your Google Cloud Webassessor account
- Step 3: Search for the exam name Google Professional Cloud Developer
- Step 4: Take the date of the exam, choose exam center and make further payment using payment method like credit/debit etc.
NEW QUESTION # 114
Your App Engine standard configuration is as follows:
service: production
instance_class: B1
You want to limit the application to 5 instances. Which code snippet should you include in your configuration?
manual_scaling:
- A. instances: 5
min_pending_latency: 30ms
manual_scaling: - B. instances: 5
min_pending_latency: 30ms
basic_scaling: - C. max_instances: 5
idle_timeout: 10m
basic_scaling: - D. max_instances: 5
idle_timeout: 10m
Answer: B
NEW QUESTION # 115
Your company has a BigQuery dataset named "Master" that keeps information about employee travel and expenses. This information is organized by employee department. That means employees should only be able to view information for their department. You want to apply a security framework to enforce this requirement with the minimum number of steps.
What should you do?
- A. Create a dataset named Master dataset. Create a separate table for each department in the Master dataset. Give employees access to the specific table for their department.
- B. Create a separate dataset for each department. Create a view with an appropriate WHERE clause to select records from a particular dataset for the specific department. Authorize this view to access records from your Master dataset. Give employees the permission to this department-specific dataset.
- C. Create a dataset named Master dataset. Create a separate view for each department in the Master dataset. Give employees access to the specific view for their department.
- D. Create a separate dataset for each department. Create a data pipeline for each department to copy appropriate information from the Master dataset to the specific dataset for the department. Give employees the permission to this department-specific dataset.
Answer: D
NEW QUESTION # 116
You recently developed a new application. You want to deploy the application on Cloud Run without a Dockerfile. Your organization requires that all container images are pushed to a centrally managed container repository. How should you build your container using Google Cloud services? (Choose two.)
- A. Use the pack build command with pack CLI.
- B. Include the --platform=kubernetes flag with the gcloud run deploy CLI command.
- C. Push your source code to Artifact Registry.
- D. Submit a Cloud Build job to push the image.
- E. Include the --source flag with the gcloud run deploy CLI command.
Answer: A,C
Explanation:
Explanation
https://cloud.google.com/run/docs/deploying#images
https://cloud.google.com/blog/products/containers-kubernetes/google-cloud-now-supports-buildpacks
NEW QUESTION # 117
You are developing a web application that contains private images and videos stored in a Cloud Storage bucket. Your users are anonymous and do not have Google Accounts. You want to use your application-specific logic to control access to the images and videos. How should you configure access?
- A. Configure Identity-Aware Proxy (IAP) to authenticate users into the web application. Allow users to access the bucket after authenticating through IAP.
- B. Generate a signed URL that grants read access to the bucket. Allow users to access the URL after authenticating through your web application.
- C. Grant the Storage Object Viewer IAM role to allUsers. Allow users to access the bucket after authenticating through your web application.
- D. Cache each web application user's IP address to create a named IP table using Google Cloud Armor.
Create a Google Cloud Armor security policy that allows users to access the backend bucket.
Answer: B
Explanation:
Explanation
https://cloud.google.com/storage/docs/access-control/signed-urls#should-you-use In some scenarios, you might not want to require your users to have a Google account in order to access Cloud Storage, but you still want to control access using your application-specific logic. The typical way to address this use case is to provide a signed URL to a user, which gives the user read, write, or delete access to that resource for a limited time. You specify an expiration time when you create the signed URL. Anyone who knows the URL can access the resource until the expiration time for the URL is reached or the key used to sign the URL is rotated.
NEW QUESTION # 118
Your App Engine standard configuration is as follows:
service: production
instance_class: B1
You want to limit the application to 5 instances. Which code snippet should you include in your configuration?
- A. manual_scaling:instances: 5min_pending_latency: 30ms
- B. manual_scaling:max_instances: 5idle_timeout: 10m
- C. basic_scaling:instances: 5min_pending_latency: 30ms
- D. basic_scaling:max_instances: 5idle_timeout: 10m
Answer: C
NEW QUESTION # 119
You recently joined a new team that has a Cloud Spanner database instance running in production. Your manager has asked you to optimize the Spanner instance to reduce cost while maintaining high reliability and availability of the database. What should you do?
- A. Use Cloud Monitoring to monitor the CPU utilization, and reduce Spanner processing units by small increments until you find the minimum capacity required.
- B. Use Cloud Trace to monitor the requests per sec of incoming requests to Spanner, and reduce Spanner processing units by small increments until you find the minimum capacity required.
- C. Use Snapshot Debugger to check for application errors, and reduce Spanner processing units by small increments until you find the minimum capacity required.
- D. Use Cloud Logging to check for error logs, and reduce Spanner processing units by small increments until you find the minimum capacity required.
Answer: A
Explanation:
https://cloud.google.com/spanner/docs/compute-capacity#increasing_and_decreasing_compute_capacity
NEW QUESTION # 120
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 dat a. 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?
- A. Transform the POST request's JSON data, and store it in a regional Cloud SQL cluster.
- B. Persist each POST request's JSON data as an individual file within Cloud Storage, with the file name containing the request identifier.
- C. Transform the POST request's JSON data, and stream it into BigQuery.
- D. Directly persist each POST request's JSON data into Datastore.
Answer: B
NEW QUESTION # 121
Your App Engine standard configuration is as follows:
service: production
instance_class: B1
You want to limit the application to 5 instances.
Which code snippet should you include in your configuration?
manual_scaling:
- A. instances: 5
min_pending_latency: 30ms
manual_scaling: - B. instances: 5
min_pending_latency: 30ms
basic_scaling: - C. max_instances: 5
idle_timeout: 10m
basic_scaling: - D. max_instances: 5
idle_timeout: 10m
Answer: B
NEW QUESTION # 122
Your development team is using Cloud Build to promote a Node.js application built on App Engine from your staging environment to production. The application relies on several directories of photos stored in a Cloud Storage bucket named webphotos-staging in the staging environment. After the promotion, these photos must be available in a Cloud Storage bucket named webphotos-prod in the production environment. You want to automate the process where possible. What should you do?
A)
Manually copy the photos to webphotos-prod.
B)
Add a startup script in the application's app.yami file to move the photos from webphotos-staging to webphotos-prod.
C)
Add a build step in the cloudbuild.yaml file before the promotion step with the arguments:
D)
Add a build step in the cloudbuild.yaml file before the promotion step with the arguments:
- A. Option B
- B. Option A
- C. Option D
- D. Option C
Answer: D
NEW QUESTION # 123
Your team is developing a new application using a PostgreSQL database and Cloud Run. You are responsible for ensuring that all traffic is kept private on Google Cloud. You want to use managed services and follow Google-recommended best practices. What should you do?
- A. 1. Install PostgreSQL on a Compute Engine VM, and enable Cloud Run in different projects.
2. Configure a private IP address for the VM. Enable private services access.
3. Create a Serverless VPC Access connector.
4. Set up a VPN connection between the two projects. Configure Cloud Run to use the connector to access the VM hosting PostgreSQL - B. 1. Use Cloud SQL and Cloud Run in different projects.
2. Configure a private IP address for Cloud SQL. Enable private services access.
3. Create a Serverless VPC Access connector.
4. Set up a VPN connection between the two projects. Configure Cloud Run to use the connector to connect to Cloud SQL. - C. 1. Enable Cloud SQL and Cloud Run in the same project.
2. Configure a private IP address for Cloud SQL. Enable private services access.
3. Create a Serverless VPC Access connector.
4. Configure Cloud Run to use the connector to connect to Cloud SQL. - D. 1. Install PostgreSQL on a Compute Engine virtual machine (VM), and enable Cloud Run in the same project.
2. Configure a private IP address for the VM. Enable private services access.
3. Create a Serverless VPC Access connector.
4. Configure Cloud Run to use the connector to connect to the VM hosting PostgreSQL.
Answer: C
Explanation:
https://cloud.google.com/sql/docs/postgres/connect-run#private-ip
NEW QUESTION # 124
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?
- A. 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. - B. 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. - C. 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. - D. 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.
Answer: A
Explanation:
4. Deploy the new container on Cloud Run as a pipeline step.
NEW QUESTION # 125
Your team develops services that run on Google Kubernetes Engine. You need to standardize their log data using Google-recommended practices and make the data more useful in the fewest number of steps. What should you do? (Choose two.)
- A. Mandate the use of the Pub/Sub API to write structured data to Pub/Sub and create a Dataflow streaming pipeline to normalize logs and write them to BigQuery for analytics.
- B. Mandate the use of the Logging API in the application code to write structured logs to Cloud Logging.
- C. Create aggregated exports on application logs to BigQuery to facilitate log analytics.
- D. Create aggregated exports on application logs to Cloud Storage to facilitate log analytics.
- E. Write log output to standard output (stdout) as single-line JSON to be ingested into Cloud Logging as structured logs.
Answer: C,E
Explanation:
https://cloud.google.com/stackdriver/docs/solutions/gke/managing-logs#best_practices
NEW QUESTION # 126
Your service adds text to images that it reads from Cloud Storage. During busy times of the year, requests to Cloud Storage fail with an HTTP 429 "Too Many Requests" status code.
How should you handle this error?
- A. Add a cache-control header to the objects.
- B. Retry the request with a truncated exponential backoff strategy.
- C. Change the storage class of the Cloud Storage bucket to Multi-regional.
- D. Request a quota increase from the GCP Console.
Answer: B
NEW QUESTION # 127
Your company is planning to migrate their on-premises Hadoop environment to the cloud. Increasing storage cost and maintenance of data stored in HDFS is a major concern for your company. You also want to make minimal changes to existing data analytics jobs and existing architecture. How should you proceed with the migration?
- A. Create a Cloud Dataproc cluster on Google Cloud Platform, and then migrate your Hadoop environment to the new Cloud Dataproc cluster. Move your HDFS data into larger HDD disks to save on storage costs.
- B. Migrate your data stored in Hadoop to BigQuery. Change your jobs to source their information from BigQuery instead of the on-premises Hadoop environment.
- C. Create Compute Engine instances with HDD instead of SSD to save costs. Then perform a full migration of your existing environment into the new one in Compute Engine instances.
- D. Create a Cloud Dataproc cluster on Google Cloud Platform, and then migrate your Hadoop code objects to the new cluster. Move your data to Cloud Storage and leverage the Cloud Dataproc connector to run jobs on that data.
Answer: D
NEW QUESTION # 128
You are deploying a microservices application to Google Kubernetes Engine (GKE). The application will receive daily updates. You expect to deploy a large number of distinct containers that will run on the Linux operating system (OS). You want to be alerted to any known OS vulnerabilities in the new containers. You want to follow Google-recommended best practices. What should you do?
- A. Use the gcloud CLI to call Container Analysis to scan new container images. Review the vulnerability results before each deployment.
- B. Enable Container Analysis, and upload new container images to Artifact Registry. Review the vulnerability results before each deployment.
- C. Use the Container Analysis REST API to call Container Analysis to scan new container images. Review the vulnerability results before each deployment.
- D. Enable Container Analysis, and upload new container images to Artifact Registry. Review the critical vulnerability results before each deployment.
Answer: B
Explanation:
Explanation
https://cloud.google.com/container-analysis/docs/automated-scanning-howto
https://cloud.google.com/container-analysis/docs/os-overview says: The Container Scanning API allows you to automate OS vulnerability detection, scanning each time you push an image to Container Registry or Artifact Registry. Enabling this API also triggers language package scans for Go and Java vulnerabilities (Preview).
NEW QUESTION # 129
You have an application controlled by a managed instance group. When you deploy a new version of the application, costs should be minimized and the number of instances should not increase. You want to ensure that, when each new instance is created, the deployment only continues if the new instance is healthy. What should you do?
- A. Perform a rolling-action with maxHealthy set to 0, maxUnhealthy set to 1.
- B. Perform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
- C. Perform a rolling-action with maxSurge set to 1, maxUnavailable set to 0.
- D. Perform a rolling-action with maxSurge set to 0, maxUnavailable set to 1
Answer: C
NEW QUESTION # 130
Your application requires service accounts to be authenticated to GCP products via credentials stored on its host Compute Engine virtual machine instances. You want to distribute these credentials to the host instances as securely as possible. What should you do?
- A. Commit the credential JSON file into your application's source repository, and have your CI/CD process package it with the software that is deployed to the instance.
- B. Use the instance's service account Application Default Credentials to authenticate to the required resources.
- C. Use HTTP signed URLs to securely provide access to the required resources.
- D. Generate a P12 file from the GCP Console after the instance is deployed, and copy the credentials to the host instance before starting the application.
Answer: B
Explanation:
Reference:
https://cloud.google.com/compute/docs/api/how-tos/authorization
NEW QUESTION # 131
You are writing a Compute Engine hosted application in project A that needs to securely authenticate to a Cloud Pub/Sub topic in project B.
What should you do?
- A. Configure the instances with a service account owned by project B. Add the service account as a Cloud Pub/Sub publisher to project A.
- B. Configure Application Default Credentials to use the private key of a service account owned by project A. Add the service account as a publisher on the topic
- C. Configure Application Default Credentials to use the private key of a service account owned by project B. Add the service account as a Cloud Pub/Sub publisher to project A.
- D. Configure the instances with a service account owned by project A. Add the service account as a publisher on the topic.
Answer: D
Explanation:
https://cloud.google.com/pubsub/docs/access-control
"For example, suppose a service account in Cloud Project A wants to publish messages to a topic in Cloud Project B.
You could accomplish this by granting the service account Edit permission in Cloud Project B"
NEW QUESTION # 132
Your teammate has asked you to review the code below. Its purpose is to efficiently add a large number of small rows to a BigQuery table.
Which improvement should you suggest your teammate make?
- A. Write each row to a Cloud Storage object, then load into BigQuery.
- B. Write each row to a Cloud Storage object in parallel, then load into BigQuery.
- C. Include multiple rows with each request.
- D. Perform the inserts in parallel by creating multiple threads.
Answer: D
NEW QUESTION # 133
......
As businesses worldwide continue to adopt cloud computing, the demand for experts who can develop cloud-based applications using various cloud services is experiencing an upward trend. It is in recognition of this need that Google Cloud offers the Professional-Cloud-Developer Exam - also known as Google Certified Professional - Cloud Developer.
Professional-Cloud-Developer Dumps for success in Actual Exam: https://www.practicetorrent.com/Professional-Cloud-Developer-practice-exam-torrent.html
Realistic Professional-Cloud-Developer 100% Pass Guaranteed Download Exam Q&A: https://drive.google.com/open?id=1DtrCuyW0pSGYEJdY6mSINy79aHcQKxGm