Free Google Cloud Platform (GCP) Skills Questions and Answers — Questions and Answers
Question 1: A picture from a Compute Engine needs to be encrypted. What must you accomplish?
- Associate your image with the default Google-managed key to encrypt it
- Nothing. Images are encrypted by default with a Google – managed key
- Associate your image with a customer-managed key to encrypt it (Correct answer)
- Nothing. Images are encrypted by default with a customer-managed key
Correct answer: Associate your image with a customer-managed key to encrypt it
Unless you provide the key, Google cannot access your protected data. Google does not store your keys on its systems. Additionally, this implies that if you need to remember or misplace your key, neither Google nor any encrypted data can be recovered.
Question 2: You need to run several exploratory queries in BigQuery as cheaply as feasible. What ought you to do?
- Set the job priority for each query to Batch and expect to see query results within 24 hours
- Set the job priority for each query to Batch and expect to see query results immediately
- Set the job priority for each query to Interactive and expect to see query results immediately (Correct answer)
Correct answer: Set the job priority for each query to Interactive and expect to see query results immediately
BigQuery provides two payment options: on-demand (you pay for the number of bytes processed by each query) and flat-rate (you purchase slots – dedicated processing capacity). Running in Interactive mode with on-demand pricing is the best option if the exploratory questions are one-off.
Question 3: Your GCP project does not have access to GCP Organizations. Which kind of account do you have?
- Free Tier (Correct answer)
- Temporary
- Organizational
- Local
Correct answer: Free Tier
A Free Tier (individual) account operates outside the GCP Organizations hierarchy, which is reserved for accounts tied to Google Workspace or Cloud Identity. 'Temporary' and 'Local' are not GCP account types, and an 'Organizational' account would by definition have access to Organizations.
Question 4: What feature must be enabled for Compute Engine to support managed instance groups with load balancing and autoscaling?
- Health checks (Correct answer)
- Metadata
- Security scans
- Network endpoint groups
Correct answer: Health checks
To support load balancing and autoscaling for managed instance groups in Compute Engine, you need to enable health checks. Health checks play a crucial role in determining the availability and health of instances within a managed instance group.
Question 5: You are creating a program that will use the MQTT protocol to send messages. Which service ought you to employ?
- Bigtable
- BigQuery
- Cloud Pub/Sub (Correct answer)
- IoT Broker
Correct answer: Cloud Pub/Sub
If you are designing an application that needs to send messages using the MQTT (Message Queuing Telemetry Transport) protocol, a suitable service to consider is Google Cloud Pub/Sub.
Question 6: You need to configure services to host a mobile application that uses TensorFlow Lite models. Which services ought you to employ?
- Firebase and AI Platform jobs
- Cloud Functions and ML Kit
- Cloud Functions and AI Platform jobs
- Firebase and ML Kit (Correct answer)
Correct answer: Firebase and ML Kit
To host a mobile application that uses TensorFlow Lite models, two services you should consider are Firebase and ML Kit.
Question 7: Redis must be installed on GKE with distinct persistent IDs and consistent hostnames. How do you use deployment objects?
- Python nested template
- YAML configuration file (Correct answer)
- GCP deployment
- Stateful set
Correct answer: YAML configuration file
To deploy Redis with unique persistent identities and stable hostnames on Google Kubernetes Engine (GKE), you would typically use a YAML configuration file to define the deployment object. <br> <br> In the YAML configuration file, you can specify the desired characteristics of your Redis deployment, including the persistent identities and stable hostnames. The deployment object is used to manage the lifecycle of the Redis pods and ensure their availability and scalability.
A picture from a Compute Engine needs to be encrypted.
What must you accomplish?