Which Google Cloud service is used for container orchestration?
AGoogle Kubernetes Engine
BGoogle Compute Engine
CCloud Functions
DCloud Storage
Explanation
Google Kubernetes Engine is specifically designed for container orchestration, while others serve different purposes.
Q122
A company needs to run a serverless application that automatically scales based on demand. Which Google Cloud product should they use?
ACloud Run
BApp Engine
CCloud Functions
DVM Instances
Explanation
Cloud Run allows for scalable serverless deployment of containers, unlike VM Instances that require manual scaling.
Q123
What happens when a Cloud SQL instance exceeds its maximum storage limit?
ADatabase automatically deletes old data
BDatabase becomes read-only
CInstance crashes temporarily
DNew writes are blocked
Explanation
Once the maximum storage is reached, new writes are blocked until space is freed or increased, while read operations continue.
Q124
Which service enables serverless event-driven execution?
ACloud Functions
BCompute Engine
CApp Engine
DCloud Storage
Explanation
Cloud Functions allow for serverless event-driven execution; the others are not serverless models.
Q125
A company needs to manage network access at a granular level. Which GCP feature should they implement?
AVPC Service Controls
BIAM Roles
CFirewall Rules
DCloud Spanner
Explanation
Firewall Rules provide granular network access management; others do not focus solely on this.
Q126
What happens when you set a VM instance to preemptible on GCP?
AInstance can run indefinitely
BLower cost but potential termination
CGuaranteed uptime for workloads
DBilling accounts remain unaffected
Explanation
Preemptible instances are cheaper but can be terminated at any time; the others are incorrect.
Q127
A company needs to securely share a large file with a client using Google Cloud. Which service should they use?
AGoogle Drive with shared link
BGoogle Cloud Storage bucket
CGoogle Cloud Pub/Sub
DGoogle Cloud BigQuery
Explanation
Google Cloud Storage provides secure file sharing; Drive is less suited for large files, while Pub/Sub and BigQuery are not file-sharing services.
Q128
What happens when you enable audit logging for a Google Cloud project?
ALogs user activities only
BLogs all API calls and updates
CLogs billing information only
DNo logging occurs
Explanation
Enabling audit logging captures all API calls and updates, while options A, C, and D do not reflect complete logging capability.
Q129
You are configuring an auto-scaling policy for a Google Kubernetes Engine (GKE) cluster. Which metric should you use to trigger scaling when handling varying loads?
ACPU usage
BNode availability
CCluster version
DPod status
Explanation
Scaling based on CPU usage allows you to efficiently manage load; Node availability and Cluster version are not performance metrics, and Pod status cannot trigger scaling.
Q130
A company needs to analyze log data from GCP services in real-time. Which service should they use?
ACloud Pub/Sub
BCloud Storage
CCloud Bigtable
DCloud Functions
Explanation
Cloud Pub/Sub enables real-time data ingestion and processing, while the other options are not designed for real-time analytics.