
Get Ready to Pass the Professional-Cloud-Developer exam Right Now Using Our Cloud Developer Exam Package
Enhance Your Career With Available Preparation Guide for Professional-Cloud-Developer Exam
NEW QUESTION # 33
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 # 34
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
NEW QUESTION # 35
You are developing an HTTP API hosted on a Compute Engine virtual machine instance that needs to be invoked by multiple clients within the same Virtual Private Cloud (VPC). You want clients to be able to get the IP address of the service.
What should you do?
- A. Reserve a static external IP address and assign it to an HTTP(S) load balancing service's forwarding rule.
Then, define an A record in Cloud DNS. Clients should use the name of the A record to connect to the service. - B. Reserve a static external IP address and assign it to an HTTP(S) load balancing service's forwarding rule.
Clients should use this IP address to connect to the service. - C. Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url https://[INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal/.
- D. Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url https://[API_NAME]/[API_VERSION]/.
Answer: D
NEW QUESTION # 36
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 VPC Network Peering
- B. Use Carrier Peering
- C. Use Private Google Access
- D. Use Shared VPC networks
Answer: C
Explanation:
Explanation
https://cloud.google.com/vpc/docs/private-google-access
NEW QUESTION # 37
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 per authentication service. Create one push subscription per topic, with the endpoint pointing to one audit service.
- 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 pull subscription to allow the audit services to share the messages.
- D. Create one Pub/Sub topic. Create one push subscription with the endpoint pointing to a load balancer in front of the audit services.
- E. Create one Pub/Sub topic per authentication service. Create one pull subscription per topic to be used by one audit service.
Answer: C
Explanation:
Explanation
https://cloud.google.com/pubsub/docs/subscriber "Multiple subscribers can make pull calls to the same "shared" subscription. Each subscriber will receive a subset of the messages."
NEW QUESTION # 38
You need to deploy an internet-facing microservices application to Google Kubernetes Engine (GKE). You want to validate new features using the A/B testing method. You have the following requirements for deploying new container image releases
* There is no downtime when new container images are deployed.
* New production releases are tested and verified using a subset of production users.
What should you do?
- A. 1 Create a second namespace on GKE for the new release version.
2 Create a Deployment configuration for the second namespace with the desired number of Pods.
3 Deploy new container versions in the second namespace.
4 Update the ingress configuration to route traffic to the namespace with the new container versions. - B. 1 install the Anthos Service Mesh on your GKE cluster.
2 Create two Deployments on the GKE cluster and label them with different version names.
3 Create a VirtualService with a routing rule to send a small percentage of traffic to the Deployment that references the new version of the application. - C. 1 Configure your Cl/CD pipeline to update the Deployment manifest file by replacing the container version with the latest version.
2 Recreate the Pods in your cluster by applying the Deployment manifest file.
3 Validate the application's performance by comparing its functionality with the previous release version and roll back if an issue arises. - D. 1. Implement a rolling update pattern by replacing the Pods gradually with the new release versify.
2 Validate the application's performance for the new subset of users during the rollout and roll back if an issue arises.
Answer: A
NEW QUESTION # 39
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:
Explanation/Reference: https://groups.google.com/forum/#!topic/gce-discussion/xBl9Jq5HDsY
NEW QUESTION # 40
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. Your Memorystore for Redis instance was deployed without a public IP address.
- B. The firewall rule allowing a connection between App Engine and Memorystore was removed during an infrastructure update by the DevOps team.
- 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. You configured your Serverless VPC Access connector in a different region than your App Engine instance.
Answer: A
NEW QUESTION # 41
You want to migrate an on-premises container running in Knative to Google Cloud. You need to make sure that the migration doesn't affect your application's deployment strategy, and you want to use a fully managed service. Which Google Cloud service should you use to deploy your container?
- A. App Engine flexible environment
- B. Google Kubernetes Engine
- C. Compute Engine
- D. Cloud Run
Answer: D
Explanation:
Explanation
https://cloud.google.com/blog/products/serverless/knative-based-cloud-run-services-are-ga
NEW QUESTION # 42
You have containerized a legacy application that stores its configuration on an NFS share. You need to deploy this application to Google Kubernetes Engine (GKE) and do not want the application serving traffic until after the configuration has been retrieved. What should you do?
- A. Use the COPY statement in the Dockerfile to load the configuration into the container image. Verify that the configuration is available, and start the service using an ENTRYPOINT script.
- B. Use the gsutil utility to copy files from within the Docker container at startup, and start the service using an ENTRYPOINT script.
- C. Add a startup script to the GKE instance group to mount the NFS share at node startup. Copy the configuration files into the container, and start the service using an ENTRYPOINT script.
- D. Create a PersistentVolumeClaim on the GKE cluster. Access the configuration files from the volume, and start the service using an ENTRYPOINT script.
Answer: C
Explanation:
Reference: https://cloud.google.com/compute/docs/instances/startup-scripts/linux
NEW QUESTION # 43
You are designing an application that uses a microservices architecture. You are planning to deploy the application in the cloud and on-premises. You want to make sure the application can scale up on demand and also use managed services as much as possible. What should you do?
- A. Create a GKE cluster in the cloud and install open-source Kubernetes on-premises. Use an external load balancer service to distribute traffic across the two environments.
- B. Deploy open source Istio in a multi-cluster deployment on multiple Google Kubernetes Engine (GKE) clusters managed by Anthos.
- C. Install a GKE cluster in each environment with Anthos, and use Cloud Build to create a Deployment for your application in each cluster.
- D. Create a GKE cluster in each environment with Anthos, and use Cloud Run for Anthos to deploy your application to each cluster.
Answer: D
Explanation:
Explanation
https://cloud.google.com/anthos/run
Integrated with Anthos, Cloud Run for Anthos provides a flexible serverless development platform for hybrid and multicloud environments. Cloud Run for Anthos is Google's managed and fully supported Knative offering, an open source project that enables serverless workloads on Kubernetes.
NEW QUESTION # 44
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. Change the storage class of the Cloud Storage bucket to Multi-regional.
- C. Retry the request with a truncated exponential backoff strategy.
- D. Request a quota increase from the GCP Console.
Answer: C
Explanation:
Reference:
https://developers.google.com/gmail/api/v1/reference/quota
NEW QUESTION # 45
You need to migrate an internal file upload API with an enforced 500-MB file size limit to App Engine.
What should you do?
- A. Use signed URLs to upload files.
- B. Change the API to be a multipart file upload API.
- C. Use CPanel to upload files.
- D. Use FTP to upload files.
Answer: A
Explanation:
Explanation/Reference: https://wiki.christophchamp.com/index.php?title=Google_Cloud_Platform
NEW QUESTION # 46
A computer service technician says, "I don't use ESD precautions and have never had a problem." Which of the following is the correct response to this statement?
- A. ESD damage is really not as bad as everyone thinks.
- B. ESD happens only to inexperienced technicians.
- C. ESD only occurs in very rare circumstances.
- D. ESD damage may not appear immediately.
Answer: C
Explanation:
Explanation/Reference: https://electronics.stackexchange.com/questions/2945/should-i-be-worried-about-electro-static- discharge
NEW QUESTION # 47
Please refer to the following information to answer the questions on the right.
Hannah recently picked up her iMac after a repair. The sound from the speakers was distorted and unclear and a technician determined that a repair would resolve the issue.
Once Hannah returned home with the iMac, the sound issue occurred again.
Hannah has returned. She is angry and she is cursing at the technician.
From the following, which are part of the 5-step conflict resolution model? (Choose two.)
- A. "Is this really the same issue? Might it be a different issue?"
- B. "I feel sorry for you. You had to drive all the way back here."
- C. "I understand your frustrations, Hannah. I would feel the same way if my computer was having the same issue after a repair. I am here to help."
- D. "You are right, Hannah. I can see the repair history says you picked up the computer this morning."
- E. "Are you sure your children didn't do something to it?"
Answer: C,D
NEW QUESTION # 48
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 Spanner
- B. Cloud SQL
- C. Cloud Storage
- D. Cloud Datastore/Firestore
Answer: B
Explanation:
Explanation/Reference:
Reference: https://cloud.google.com/solutions/migrating-mysql-to-cloudsql-concept
NEW QUESTION # 49
......
Get Special Discount Offer of Professional-Cloud-Developer Certification Exam Sample Questions and Answers: https://pass4sure.examcost.com/Professional-Cloud-Developer-practice-exam.html

