Verified Professional-Cloud-Developer dumps Q&As - 2023 Latest Professional-Cloud-Developer Download [Q104-Q121]

Share

Verified Professional-Cloud-Developer dumps Q&As - 2023 Latest Professional-Cloud-Developer Download

Dumps Questions [2023] Pass for Professional-Cloud-Developer Exam


The certification exam covers a wide range of topics related to developing applications on GCP. These include deploying applications, managing application performance, working with data storage services, and integrating Google Cloud services. The exam also covers topics such as testing and debugging applications, designing and developing highly scalable and resilient applications, and managing application security.

 

NEW QUESTION # 104
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?

  • A. The firewall rule allowing a connection between App Engine and Memorystore was removed during an infrastructure update by the DevOps team.
  • B. You configured your Serverless VPC Access connector in a different region than your App Engine instance.
  • C. 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.
  • D. Your Memorystore for Redis instance was deployed without a public IP address.

Answer: D


NEW QUESTION # 105
Please refer to the following information to answer the questions on the right.
Debra has brought her iPad Pro to you for troubleshooting. She has been experiencing very slow charging of the battery and says the only way she can get a full charge is to leave the iPad alone for more than 12 hours.
She brought in an Apple Power adapter and Lightning to USB cable. When you examine the power adapter, you notice that it is an iPhone power adapter not an iPad power adapter. You also noticed she was using an iPhone 6s while waiting to see you. Debra thinks her iPad is defective because her iPhone has no issue charging with this power adapter and cable.
Based on the information Debra provided, in which problem space does this issue fit?

  • A. User Data
  • B. Software
  • C. Educational opportunity
  • D. Environmental

Answer: B


NEW QUESTION # 106
HipLocal's APIs are showing occasional failures, but they cannot find a pattern. They want to collect some metrics to help them troubleshoot.
What should they do?

  • A. Take frequent snapshots of all of the VMs.
  • B. Use Stackdriver Trace to look for performance bottlenecks.
  • C. Install the Stackdriver Logging agent on the VMs.
  • D. Install the Stackdriver Monitoring agent on the VMs.

Answer: D


NEW QUESTION # 107
You are running an application on App Engine that you inherited. You want to find out whether the application is using insecure binaries or is vulnerable to XSS attacks.
Which service should you use?

  • A. Stackdriver Debugger
  • B. Cloud Security Scanner
  • C. Stackdriver Error Reporting
  • D. Cloud Amor

Answer: B

Explanation:
Explanation/Reference: https://cloud.google.com/security-scanner


NEW QUESTION # 108
Your application is running in multiple Google Kubernetes Engine clusters. It is managed by a Deployment in each cluster. The Deployment has created multiple replicas of your Pod in each cluster. You want to view the logs sent to stdout for all of the replicas in your Deployment in all clusters. Which command should you use?

  • A. gcloud compute ssh [PARAM] --command= "sudo journalctl"
  • B. kubectl logs [PARAM]
  • C. gcloud logging read [PARAM]
  • D. kubectl exec -it [PARAM] journalctl

Answer: A


NEW QUESTION # 109
Users are complaining that your Cloud Run-hosted website responds too slowly during traffic spikes. You want to provide a better user experience during traffic peaks. What should you do?

  • A. Ensure that timeout exceptions and errors cause the Cloud Run instance to exit quickly so a replacement instance can be started.
  • B. Perform as much work as possible in the background after the response has been returned to the user.
  • C. Package application configuration and static data into the application image during build time.
  • D. Read application configuration and static data from the database on application startup.

Answer: B


NEW QUESTION # 110
You recently developed an application. You need to call the Cloud Storage API from a Compute Engine instance that doesn't have a public IP address. What should you do?

  • A. Use Carrier Peering
  • B. Use Shared VPC networks
  • C. Use Private Google Access
  • D. Use VPC Network Peering

Answer: C

Explanation:
Explanation
https://cloud.google.com/vpc/docs/private-google-access


NEW QUESTION # 111
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.)

  • A. Decrease the target CPU usage for the instance group autoscaler.
  • B. Remove the health-check for individual VMs in the instance group.
  • C. Increase the target CPU usage for the instance group autoscaler.
  • D. Add the label "AUTOSCALE" to the instance group template.
  • E. Decrease the cool-down period for instances added to the group.

Answer: C,D


NEW QUESTION # 112
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?

  • A. Configure a GKE Service resource with type: LoadBalancer.
  • B. Configure a GKE Service resource.
  • C. Configure a GKE Ingress resource.
  • D. Configure a GKE Ingress resource with type: LoadBalancer.

Answer: C

Explanation:
Reference:
https://cloud.google.com/kubernetes-engine/docs/concepts/ingress


NEW QUESTION # 113
Your data is stored in Cloud Storage buckets. Fellow developers have reported that data downloaded from Cloud Storage is resulting in slow API performance. You want to research the issue to provide details to the GCP support team. Which command should you run?

  • A. gsutil test -o output.json gs://my-bucket
  • B. gcloud services test -o output.json gs://my-bucket
  • C. gcloud compute scp example-instance:~/test-data -o output.json gs://my-bucket
  • D. gsutil perfdiag -o output.json gs://my-bucket

Answer: D

Explanation:
Reference:
https://groups.google.com/forum/#!topic/gce-discussion/xBl9Jq5HDsY


NEW QUESTION # 114
You manage an ecommerce application that processes purchases from customers who can subsequently cancel or change those purchases. You discover that order volumes are highly variable and the backend order-processing system can only process one request at a time. You want to ensure seamless performance for customers regardless of usage volume. It is crucial that customers' order update requests are performed in the sequence in which they were generated. What should you do?

  • A. Use a Pub/Sub subscriber in push mode and use a data store to manage ordering.
  • B. Send the purchase and change requests over WebSockets to the backend.
  • C. Send the purchase and change requests as REST requests to the backend.
  • D. Use a Pub/Sub subscriber in pull mode and use a data store to manage ordering.

Answer: D

Explanation:
Explanation
https://cloud.google.com/pubsub/docs/pull


NEW QUESTION # 115
You are building an API that will be used by Android and iOS apps The API must:
* Support HTTPs
* Minimize bandwidth cost
* Integrate easily with mobile apps
Which API architecture should you use?

  • A. gRPC-based APIs
  • B. RESTful APIs
  • C. SOAP-based APIs
  • D. MQTT for APIs

Answer: B

Explanation:
Reference: https://www.devteam.space/blog/how-to-build-restful-api-for-your-mobile-app/


NEW QUESTION # 116
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. Write log output to standard output (stdout) as single-line JSON to be ingested into Cloud Logging as structured logs.
  • E. Create aggregated exports on application logs to Cloud Storage to facilitate log analytics.

Answer: B,D


NEW QUESTION # 117
You are a SaaS provider deploying dedicated blogging software to customers in your Google Kubernetes Engine (GKE) cluster. You want to configure a secure multi-tenant platform to ensure that each customer has access to only their own blog and can't affect the workloads of other customers. What should you do?

  • A. Deploy a namespace per tenant and use Network Policies in each blog deployment.
  • B. Enable Application-layer Secrets on the GKE cluster to protect the cluster.
  • C. Use GKE Audit Logging to identify malicious containers and delete them on discovery.
  • D. Build a custom image of the blogging software and use Binary Authorization to prevent untrusted image deployments.

Answer: A


NEW QUESTION # 118
You are developing an application that will allow clients to download a file from your website for a specific period of time. How should you design the application to complete this task while following Google-recommended best practices?

  • A. Create a temporary Cloud Storage bucket with time expiration specified, and give download permissions to the bucket. Copy the file, and send it to the client.
  • B. Generate the HTTP cookies with time expiration specified. If the time is valid, copy the file from the Cloud Storage bucket, and make the file available for the client to download.
  • C. Configure the application to send the file to the client as an email attachment.
  • D. Generate and assign a Cloud Storage-signed URL for the file. Make the URL available for the client to download.

Answer: D


NEW QUESTION # 119
Your existing application keeps user state information in a single MySQL database. This state information is very user-specific and depends heavily on how long a user has been using an application. The MySQL database is causing challenges to maintain and enhance the schema for various users.
Which storage option should you choose?

  • A. Cloud Datastore/Firestore
  • B. Cloud SQL
  • C. Cloud Spanner
  • D. Cloud Storage

Answer: B

Explanation:
Reference: https://cloud.google.com/solutions/migrating-mysql-to-cloudsql-concept


NEW QUESTION # 120
You plan to make a simple HTML application available on the internet. This site keeps information about FAQs for your application. The application is static and contains images, HTML, CSS, and Javascript. You want to make this application available on the internet with as few steps as possible.
What should you do?

  • A. Upload your application to an App Engine environment.
  • B. Create a Compute Engine instance with Apache web server installed. Configure Apache web server to host the application.
  • C. Upload your application to Cloud Storage.
  • D. Containerize your application first. Deploy this container to Google Kubernetes Engine (GKE) and assign an external IP address to the GKE pod hosting the application.

Answer: C

Explanation:
Reference: https://cloud.google.com/storage/docs/hosting-static-website


NEW QUESTION # 121
......

Updated Google Study Guide Professional-Cloud-Developer Dumps Questions: https://www.validvce.com/Professional-Cloud-Developer-exam-collection.html

Valid Professional-Cloud-Developer exam with Google Real Exam Questions: https://drive.google.com/open?id=1_Yi9e7IIo_w8A5DkiwoQiYejvpe0OPWL