Which Google Cloud service is best for real-time data processing?
ACloud Pub/Sub
BCloud Storage
CCloud Functions
DCloud SQL
Explanation
Cloud Pub/Sub is designed for real-time streaming, while the others serve different purposes.
Q122
A company requires a scalable SQL database solution with automatic failover. Which GCP service should they choose?
ACloud SQL
BBigQuery
CFirebase Realtime Database
DCloud Spanner
Explanation
Cloud Spanner provides scalability and automatic failover, unlike the others.
Q123
What happens when you delete a Cloud Storage bucket that still holds objects?
AObjects are archived.
BObjects are permanently deleted.
CObjects are transferred to another bucket.
DBucket deletion fails.
Explanation
Deleting a bucket removes all its objects permanently, with no recovery.
Q124
Which Google Cloud service is designed for real-time data streaming?
ACloud Pub/Sub
BCloud Storage
CBigQuery
DDataflow
Explanation
Cloud Pub/Sub handles real-time message queuing, while others serve different purposes.
Q125
A company needs to analyze large datasets quickly. Which service should they use?
ABigQuery
BCloud Functions
CCloud SQL
DContainer Registry
Explanation
BigQuery is optimized for fast SQL queries on big data.
Q126
You are configuring IAM roles. What is the effect of assigning a more permissive role?
AGrants additional access to users
BReduces user permissions
COverrides existing roles
DHas no effect at all
Explanation
Assigning a permissive role increases access, while others do not accurately describe the impact.
Q127
Which service is designed for real-time data processing in Google Cloud?
ACloud Dataflow
BCloud Bigtable
CCloud Dataproc
DCloud Firestore
Explanation
Cloud Dataflow is specifically designed for real-time data processing, while others focus on storage or batch processing.
Q128
A company needs to analyze large datasets stored in Google Cloud Storage for insights. Which approach should they take?
AUse Pub/Sub for ETL
BUtilize BigQuery for querying
CStore data in Cloud Functions
DImplement Cloud Run for storage
Explanation
BigQuery is optimized for analyzing large datasets, while the others do not directly support analytics.
Q129
You are configuring IAM policies. What happens when you set a user to have "deny" permissions for a resource?
AUser gains access to resource
BUser is denied access to resource
CAccess is granted at all times
DPolicies become inactive
Explanation
"Deny" permissions explicitly prevent access, overriding any allows.
Q130
Which Google Cloud service is best for serverless application development?
ACloud Functions
BCompute Engine
CKubernetes Engine
DApp Engine
Explanation
Cloud Functions provides a fully managed environment for event-driven serverless applications, while others involve server management or orchestration.