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?

reference link

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?

reference link

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?

reference link

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

refernce link

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?

reference link

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?

Q18. 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?

reference link

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

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

reference link

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

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

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

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

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

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

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

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

reference link

Q29. 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?

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

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

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

reference link

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

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

reference link

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

reference link

Q36. 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

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

reference link

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

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

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

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


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

  1. Create a Filestore instance.
  2. Mount the fileshare from that instance on a client VM instance.
  3. Create a Compute Instance VM to be the client.
  4. Create a file on the mounted fileshare.
  1. Create a Filestore instance.
  2. Mount the fileshare from that instance on a client VM instance.
  3. Create a file on the mounted file share.
  4. Create a Compute Instance VM to be the client.
  1. Create a Compute Instance VM to be the client.
  2. Create a Filestore instance.
  3. Mount the file share from that instance on a client VM instance.
  4. Create a file on the mounted fileshare.
  1. Create a Compute Instance VM to be the client.
  2. Create a Cloud Filestore instance.
  3. Mount the fileshare from that instance on a client VM instance.
  4. Create a file on the mounted file share.


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


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

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

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

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


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


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

reference link

Q50. 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.


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

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

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

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

Q55. 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.


Q56. You want to build a data lake application on GCP. Which two services should you use?

Q56. You want to work with GCP Organisation users in the console. Where do you navigate to?

Q56. You want to select a fully managed platform for developing and hosting a web application written in Kotlin at scale on GCP. Which service should you choose?

Q57. Which combination of Stackdriver services will alert you about errors generated by your applications and help you locate the root cause in the code?

Q58. You are using Google Cloud Platform to host an Apache server and would like to enable an alert to notify you if the webserver becomes unresponsive. Which Google Cloud service and steps should you take to set up to set up this alert?

Q59. If you have configured Stackdriver Logging to export logs to BigQuery, but logs entries are not getting exported to BigQuery, what is the most likely cause?

Q60. You can use Stackdriver to monitor virtual machines on which cloud platforms?

Q61. In Google Kubernetes Engine, “_” is a term Kubernetes uses to represent pods and controllers.

Q62. In the command below, what is the purpose of the “--image” argument?

kubectl create deployment app --image=$ImageRepo:$Tag

Q63. To effectively manage the limited number of IP addresses per node, how many IP addresses per pod does Google recommend?

Q64. In Google Kubernetes Engine, _ are the smallest unit of deployment within a Kubernetes cluster, and our primary Kubernetes building blocks.

Q65. Which of the following statements is not a general security guideline for a Google Cloud Platform deployment pipeline?

Q66. In order to allow signed images to be deployed with Google Cloud Platform’s binary authorization enabled, you need to create a(n) _.

Q67. Builders in Cloud Build are

Q68. Which of the following statements about security in the Google Cloud Platform deployment pipeline is false?

Q69. In order to create and store a key in Google Cloud Platform, you must first create a _ to hold the key.

Q70. David is the cloud admin for Blue Widget Corp. He has deployed a Linux VM called Linux01, and he needs to SSH to it from the console. Which command should David use to SSH to the VM?

Q71. Which option will allow you to review latency data from App Engine Apps?

Q72. Regarding Stackdriver Debugger, which of the following locations are you not able to select your source code from?

Q73. Google Cloud services maintain _ that record all activity and access to your GCP resources.

Q74. Which category of GCP audit log records every incident in which a user or service account is denied access to a resource?

Q75. When setting the condition for a rule in Google Cloud Armor, _ mode allows you to filter only by IP address or CIDR range.


Q76. Which Google Cloud service provides an overview dashboard that shows you active threats and vulnerabilities, ordered by severity?


Q77. Which field of a Google Cloud Armor rule determines when the rule will be evaluated?


Q78. What is an ACL?


Q79. In Google Cloud Platform, the _ role grants read-only access to the Access Transparency logs and to Data Access audit logs, in addition to the access granted by the Logs Viewer role.