Professional-Cloud-Developer Practice Exam Tests Latest Updated on Nov-2021
Pass Professional-Cloud-Developer Exam in First Attempt Guaranteed Dumps!
NEW QUESTION 30
You are developing a JPEG image-resizing API hosted on Google Kubernetes Engine (GKE). Callers of the service will exist within the same GKE cluster. You want clients to be able to get the IP address of the service.
What should you do?
- A. Define a GKE Endpoint. Clients should get the endpoint name from Cloud DNS.
- B. Define a GKE Service. Clients should use the service name in the URL to connect to the service.
- C. Define a GKE Service. Clients should use the name of the A record in Cloud DNS to find the service's cluster IP address.
- D. Define a GKE Endpoint. Clients should get the endpoint name from the appropriate environment variable in the client container.
Answer: D
Explanation:
Explanation
NEW QUESTION 31
Which service should HipLocal use to enable access to internal apps?
- A. Cloud Identity-Aware Proxy
- B. Virtual Private Cloud
- C. Cloud Armor
- D. Cloud VPN
Answer: A
Explanation:
Reference:
https://cloud.google.com/iap/docs/cloud-iap-for-on-prem-apps-overview
NEW QUESTION 32
- A. Grant your user account the roles/storage.objectCreator role for the Cloud Storage bucket.
- B. It is supposed to write an object in a Cloud Storage bucket owned by project B. However, the write call is failing with the error "403 Forbidden".
What should you do to correct the problem? - C. Grant your user account the roles/iam.serviceAccountUser role for the service-PROJECTA@gcf-admin- robot.iam.gserviceaccount.com service account.
- D. Enable the Cloud Storage API in project B.
- E. Grant the [email protected] service account the roles/ storage.objectCreator role for the Cloud Storage bucket.
Answer: C
NEW QUESTION 33
You migrated your applications to Google Cloud Platform and kept your existing monitoring platform. You now find that your notification system is too slow for time critical problems.
What should you do?
- A. Install the Stackdriver agents on your Compute Engine instances.
- B. Use Stackdriver to capture and alert on logs, then ship them to your existing platform.
- C. Replace your entire monitoring platform with Stackdriver.
- D. Migrate some traffic back to your old platform and perform AB testing on the two platforms concurrently.
Answer: A
Explanation:
Reference:
https://cloud.google.com/monitoring/
NEW QUESTION 34
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. MQTT for APIs
- C. RESTful APIs
- D. SOAP-based APIs
Answer: C
Explanation:
Explanation/Reference: https://www.devteam.space/blog/how-to-build-restful-api-for-your-mobile-app/
NEW QUESTION 35
How do you access Control Center from the home screen on an iPhone 8?
- A. Swipe from left to right.
- B. Swipe from right to left.
- C. Swipe up from the bottom of the screen.
- D. Swipe down from the top of the screen.
Answer: C
Explanation:
Explanation/Reference: https://www.imore.com/control-center
NEW QUESTION 36
Which of the following is an ESD precaution according to Apple standards?
- A. The relative humidity in a work area should be lower than 50 percent.
- B. A person working on an ESD-sensitive circuit should not be touched.
- C. An ionized air generator can be used instead of grounding a work area.
- D. Safety apron made of synthetic fibers should be worn.
Answer: B
NEW QUESTION 37
You are working on a social media application. You plan to add a feature that allows users to upload images. These images will be 2 MB - 1 GB in size. You want to minimize their infrastructure operations overhead for this feature. What should you do?
- A. Change the application to create signed URLs for Cloud Storage. Transfer these signed URLs to the client application to upload images to Cloud Storage.
- B. Change the application to accept images directly and store them in the database that stores other user information.
- C. Create a separate bucket for each user in Cloud Storage. Assign a separate service account to allow write access on each bucket. Transfer service account credentials to the client application based on user information. The application uses this service account to upload images to Cloud Storage.
- D. Set up a web server on GCP to accept user images and create a file store to keep uploaded files. Change the application to retrieve images from the file store.
Answer: A
Explanation:
Reference:
https://cloud.google.com/blog/products/storage-data-transfer/uploading-images-directly-to-cloud-storage-by-using-signed-url
NEW QUESTION 38
Which of the following expresses empathy rather than sympathy?
- A. I am sorry this happened to you. I can see why you may be disappointed
- B. I feel so sorry for you. I bet you feel disappointed.
- C. Poor you! You must feel awful.
- D. Oh, what a pity! This must make you feel disappointed.
Answer: A
NEW QUESTION 39
You are using Cloud Build to build a Docker image. You need to modify the build to execute unit and run integration tests. When there is a failure, you want the build history to clearly display the stage at which the build failed.
What should you do?
- A. Create a Cloud Build build config file with a single build step to compile unit and integration tests.
- B. Add RUN commands in the Dockerfile to execute unit and integration tests.
- C. Create a Cloud Build build config file with separate cloud builder steps to compile and execute unit and integration tests.
- D. Create a Cloud Build build config file that will spawn a separate cloud build pipeline for unit and integration tests.
Answer: C
NEW QUESTION 40
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?
- A. Enable and check the serial port output.
- B. Take a snapshot of the disk and attach it to a new machine.
- C. Delete the machine and create a new one.
- D. Reboot the machine.
Answer: D
NEW QUESTION 41
What are the features of using iCloud as a backup method for an iOS device?
- A. The customer can make backups over cellular networks.
- B. Always encrypts backups.
- C. Offers up to 200 TB of storage.
- D. Backups can be encrypted or un-encrypted.
Answer: D
Explanation:
Explanation/Reference: https://www.pcworld.com/article/2154792/backups-via-icloud-or-itunes-the-crucial-differences-that- affect-your-data.html
NEW QUESTION 42
You want to view the memory usage of your application deployed on Compute Engine. What should you do?
- A. Install the Stackdriver Monitoring Agent.
- B. Install the Stackdriver Client Library.
- C. Use the Stackdriver Metrics Explorer.
- D. Use the Google Cloud Platform Console.
Answer: C
Explanation:
Explanation/Reference: https://stackoverflow.com/questions/43991246/google-cloud-platform-how-to-monitor-memory- usage-of-vm-instances
NEW QUESTION 43
You are creating a Google Kubernetes Engine (GKE) cluster and run this command:
The command fails with the error:
You want to resolve the issue. What should you do?
- A. Request additional GKE quota is the GCP Console.
- B. Request additional Compute Engine quota in the GCP Console.
- C. Decouple services in the cluster, and rewrite new clusters to function with fewer cores.
- D. Open a support case to request additional GKE quotA.
Answer: A
NEW QUESTION 44
You have two tables in an ANSI-SQL compliant database with identical columns that you need to quickly combine into a single table, removing duplicate rows from the result set.
What should you do?
- A. Use nested WITH statements to combine the tables.
- B. Use the UNION ALL operator in SQL to combine the tables.
- C. Use the JOIN operator in SQL to combine the tables.
- D. Use the UNION operator in SQL to combine the tables.
Answer: D
Explanation:
Explanation/Reference: https://www.techonthenet.com/sql/union_all.php
NEW QUESTION 45
You want to re-architect a monolithic application so that it follows a microservices model. You want to accomplish this efficiently while minimizing the impact of this change to the business.
Which approach should you take?
- A. Deploy the application to Compute Engine and turn on autoscaling.
- B. Replace the application's features with appropriate microservices in phases.
- C. Refactor the monolithic application with appropriate microservices in a single effort and deploy it.
- D. Build a new application with the appropriate microservices separate from the monolith and replace it when it is complete.
Answer: C
Explanation:
Reference:
https://cloud.google.com/solutions/migrating-a-monolithic-app-to-microservices-gke
NEW QUESTION 46
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?
- A. Create a view in BigQuery from the SQL query and SELECT*from the view in the CLI.
- B. Grant the service account BigQuery Data Editor and BigQuery Data Viewer roles.
- C. Create a new dataset in BigQuery, and copy the source table to the new dataset Query the new dataset and table from the CLI.
- D. Grant the service account BigQuery Data Viewer and BigQuery Job User roles.
Answer: B
NEW QUESTION 47
Your teammate has asked you to review the code below, which is adding a credit to an account balance in Cloud Datastore.
Which improvement should you suggest your teammate make?
- A. Use a strongly consistent transactional database.
- B. Don't return the account entity from the function.
- C. Get the entity with an ancestor query.
- D. Get and put the entity in a transaction.
Answer: C
Explanation:
Explanation/Reference:
NEW QUESTION 48
......
Cloud Developer Free Certification Exam Material from ExamPrepAway with 75 Questions: https://skillmeup.examprepaway.com/Google/braindumps.Professional-Cloud-Developer.ete.file.html