Google Cloud Platform (GCP)

Q1. You want to schedule a cron job to send a message to a Cloud Pub/Sub topic hourly. What do you do?

Q2. You want to set up a managed Apache Spark cluster. Which service do you configure?

Q3. GCP Organizations are not available in your GCP project. What type of account are you using?

Note: Free trial doesn’t have the organizations.

Q4. What feature do you need to enable to support load balancing and autoscaling managed instance groups for Compute Engine?

Q5. You are designing an application that will send messages with the MQTT protocol. What service should you use?

Q6. You want to configure services to host a mobile application that uses TensorFlow Lite models. Which services should you use?

Q7. You need to deploy Redis with unique persistent identities and stable hostnames on GKE. What type of deployment object do you use?

Q8. You want to try out a machine-learning TensorFlow example notebook with the fewest configuration steps on GCP. What do you do?

Q9. You need to configure a data retention policy for a Cloud Storage bucket to govern how long objects in the bucket must be retained. What feature do you enable?

Q10. To be able to configure an existing Cloud Function, what information should you review and from which location?

Q11. You need to execute a “lift and shift” move with as few steps as possible. Which items do you need to create to accomplish this task, listed in the correct order of creation?

Q12. You are concerned about data egress charges for files in a Cloud Storage bucket. What configuration change should you make?

Q13. You need to troubleshoot an Android app that uses Cloud Storage. Where do you look for logs?

Q14. You want to configure services to be able to perform a regular interactive query of Google AdWords data. What should you do?

Q15. You want to use GCP-preferred base container images. Where can your users find these images?

Q16. You want to set a notification for service spend in GCP. What do you do, and who will be notified?

Q17. Cloud SQL supports which two relational databases?

Q19. You want to quickly test a single Docker container image that will start a stateless HTTP service on GCP. Which service do you select to host your container image?

Q20. You want to develop Firebase security rules following Google best practices. Which tool(s) do you use?

Q21. You want to build an application with conversation interpretation based on machine learning speech understanding. Which service is a best fit for this scenario?

Q22. Which service must you enable on your GKE cluster in order to use Cloud Run on Google Kubernetes Engine (GKE)?

Q23. How can you enable clients inside a GKE cluster to be able to contact Pods?

Q24. You want to capture the message acknowledgment state of a subscription at a given time. What do you do?

Q25. You need to set a bucket storage class for data that will be accessed once a month or less. Which type do you select?

Q26. Which command copies a file named test.txt to a Cloud Storage bucket named myBucket?

Q27. Which command adds a column family named cf1 to your Bigtable table named my-table?

Q28. Which command do you use to connect to a running Compute Engine instance with SSH?

Q29. You need to set CORS for some objects in a bucket for a client-side application. What do you do?

Q30. For your application, you are building a CI/CD pipeline that logs information when a message is sent to a queue. Which services should you select?

Q31. You need to create instances with identical configurations that cannot be changed. Which Compute Engine feature do yo use?

Q32. You want to automatically perform security scans on user-developed containers. Where should you advise your users to host their containers?

Q33. You need to control incoming and outgoing traffic to a Compute Engine instance. What do yo do?

Q34. Which object is a container for GCP services instances?

Q35. What is needed to access GCP APIs in your project?

reference link

Q36. Which object is used to hold payment information for a GCP project?

reference link

Q37. You need to cache your HTTP and HTTPS static content closer to users, so that you can get faster delivery and reduce serving costs. Which service do you set up?

reference link

Q38. You are designing security for an IoT device application. What best practices should you include in your design?

reference link

Q39. You need to set a WordPress site with high availability on GCP using the fewest steps. What do you do?

Q41. How do you configure Cloud Build to rebuild your image when a change is made to the source code?

Q42. To be able to decrypt files that were encrypted with a customer-manager key, what conditions must be met?

Q43. You want to encrypt a Compute Engine. What do you need to do?


Q44. You want to quickly evaluate Cloud Filestore. What are the steps, in order, to set up a test environment?


Q45. You need to optimize spending for always-on Compute Engine virtual machines of certain sizes and types-with minimum effort. What do you do?


Q46. You are designing a GCP replacement for your on-premises data warehouse. Which service do you select?

Q47. How can you quickly back up a persistent disk on Compute Engine?

Q48. You are implementing IAM roles for your organization following GCP best practice. Which statement best reflects this?

Q49. You need to quickly build an application that logs all file uploads to a Cloud Storage bucket. Which service do you select?


Q50. You need to answer the question “How long does it take my application to handle a given request?” What do you do?


Q51. You want to select a fully managed, serverless platform for developing and hosting web applications at scale on GCP. Which service should you choose?

Q52. You have a set of exploratory queries that you want to run as inexpensively as possible in BigQuery. What should you do?

Explanation: BigQuery offers a choice of two pricing models for runnig queries: on-demand (you are charged for the number of bytes processes by each query) and flat-rate (you purchase slots - dedicated processing capacity). If the exploratory queries are one-off, running in Interactive mode using on-demand pricing seems to be the optimal answer.


Q53. How do you run a Docker container image on a Google Compute Engine virtual machine?

Q54. To configure a GCP Organization, which item should you create first?To configure a GCP Organization, which item should you create first?

Q55. Which container(s) does Google Kubernetes Engine support?Which container(s) does Google Kubernetes Engine support?

Q56. Cloud Genomics enables pipelines to run on top of which GCP service?Cloud Genomics enables pipelines to run on top of which GCP service?

Q57. You want to encrypt a Compute Engine image. What do you need to do ?

Explanation: Google does not store your keys on its servers and cannot access your protected data unless you provide the key. This also means that if you forget or lose your key, there is no way for Google to recover the key or to recover any data encrypted with the lost key.