Download Professional Cloud Developer.Professional-Cloud-Developer.VCEplus.2024-09-17.156q.vcex

Vendor: Google
Exam Code: Professional-Cloud-Developer
Exam Name: Professional Cloud Developer
Date: Sep 17, 2024
File Size: 2 MB
Downloads: 2

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Demo Questions

Question 1
Your company has a data warehouse that keeps your application information in BigQuery. The BigQuery data warehouse keeps 2 PBs of user data. Recently, your company expanded your user base to include EU users and needs to comply with these requirements:
Your company must be able to delete all user account information upon user request.
All EU user data must be stored in a single region specifically for EU users.
Which two actions should you take? (Choose two.)
  1. Use BigQuery federated queries to query data from Cloud Storage.
  2. Create a dataset in the EU region that will keep information about EU users only.
  3. Create a Cloud Storage bucket in the EU region to store information for EU users only.
  4. Re-upload your data using to a Cloud Dataflow pipeline by filtering your user records out.
  5. Use DML statements in BigQuery to update/delete user records based on their requests.
Correct answer: CE
Question 2
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?
  1. manual_scaling:instances: 5min_pending_latency: 30ms
  2. manual_scaling:max_instances: 5idle_timeout: 10m
  3. basic_scaling:instances: 5min_pending_latency: 30ms
  4. basic_scaling:max_instances: 5idle_timeout: 10m
Correct answer: C
Question 3
Your analytics system executes queries against a BigQuery dataset. The SQL query is executed in batch and passes the contents of a SQL file to the BigQuery CLI. Then it redirects the BigQuery CLI output to another process.
However, you are getting a permission error from the BigQuery CLI when the queries are executed. You want to resolve the issue. What should you do?
  1. Grant the service account BigQuery Data Viewer and BigQuery Job User roles.
  2. Grant the service account BigQuery Data Editor and BigQuery Data Viewer roles.
  3. Create a view in BigQuery from the SQL query and SELECT* from the view in the CLI.
  4. Create a new dataset in BigQuery, and copy the source table to the new dataset Query the new dataset and table from the CLI.
Correct answer: B
Question 4
Your application is running on Compute Engine and is showing sustained failures for a small number of requests. You have narrowed the cause down to a single Compute Engine instance, but the instance is unresponsive to SSH. What should you do next?
  1. Reboot the machine.
  2. Enable and check the serial port output.
  3. Delete the machine and create a new one.
  4. Take a snapshot of the disk and attach it to a new machine.
Correct answer: A
Question 5
You configured your Compute Engine instance group to scale automatically according to overall CPU usage. However, your application's response latency increases sharply before the cluster has finished adding up instances.
You want to provide a more consistent latency experience for your end users by changing the configuration ot the instance group autoscaler. Which two configuration changes should you make? (Choose two.)
  1. Add the label ''AUTOSCALE'' to the instance group template.
  2. Decrease the cool-down period for instances added to the group.
  3. Increase the target CPU usage for the instance group autoscaler.
  4. Decrease the target CPU usage for the instance group autoscaler.
  5. Remove the health-check for individual VMs in the instance group.
Correct answer: AC
Question 6
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?
  1. Perform a rolling-action with maxSurge set to 1, maxUnavailable set to 0.
  2. Perform a rolling-action with maxSurge set to 0, maxUnavailable set to 1
  3. Perform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
  4. Perform a rolling-action with maxHealthy set to 0, maxUnhealthy set to 1.
Correct answer: A
Question 7
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?
  1. Use HTTP signed URLs to securely provide access to the required resources.
  2. Use the instance's service account Application Default Credentials to authenticate to the required resources.
  3. 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.
  4. 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.
Correct answer: B
Question 8
Your application is deployed in a Google Kubernetes Engine (GKE) cluster. You want to expose this application publicly behind a Cloud Load Balancing HTTP(S) load balancer. What should you do?
  1. Configure a GKE Ingress resource.
  2. Configure a GKE Service resource.
  3. Configure a GKE Ingress resource with type: LoadBalancer.
  4. Configure a GKE Service resource with type: LoadBalancer.
Correct answer: A
Question 9
You are writing a single-page web application with a user-interface that communicates with a third-party API for content using XMLHttpRequest. The data displayed on the UI by the API results is less critical than other data displayed on the same web page, so it is acceptable for some requests to not have the API data displayed in the UI. However, calls made to the API should not delay rendering of other parts of the user interface. You want your application to perform well when the API response is an error or a timeout.
What should you do?
  1. Set the asynchronous option for your requests to the API to false and omit the widget displaying the API results when a timeout or error is encountered.
  2. Set the asynchronous option for your request to the API to true and omit the widget displaying the API results when a timeout or error is encountered.
  3. Catch timeout or error exceptions from the API call and keep trying with exponential backoff until the API response is successful.
  4. Catch timeout or error exceptions from the API call and display the error response in the UI widget.
Correct answer: A
Question 10
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.
Correct answer: C
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!