What happens when you set the retention policy on a Google Cloud storage bucket?
AAutomatically delete old data
BPrevent all data deletions
CIncrease data redundancy
DCreate a separate bucket
Explanation
A retention policy automatically deletes data older than the retention time, while the other options misrepresent bucket retention behavior.
Q82
Which Google Cloud service is best for serverless image processing?
ACloud Functions
BCompute Engine
CApp Engine
DCloud Run
Explanation
Cloud Functions provides a serverless way to run code in response to events, making it ideal for image processing tasks. Compute Engine and App Engine require more management, and Cloud Run is more suited for containerized applications.
Q83
A company needs a managed database with high availability and automatic backups. What should they use?
ACloud Spanner
BCloud Firestore
CCloud Bigtable
DCloud Datastore
Explanation
Cloud Spanner is a fully managed, horizontally scalable database offering high availability and automatic backups. Other options either lack SQL support or are not specifically designed for high availability.
Q84
You are configuring a Google Cloud Pub/Sub topic. What happens when a message is published to a topic without subscribers?
AMessage is dropped
BMessage is delayed
CMessage is stored indefinitely
DMessage triggers an error
Explanation
Published messages are retained for a configurable period of time until they are read by subscribers; they are not dropped immediately. Options A and D are incorrect, as messages remain in the topic, while B misconstrues the retention behavior.
Q85
Which service provides serverless analytics in Google Cloud?
ABigQuery
BCloud Functions
CCloud Run
DDataproc
Explanation
BigQuery is designed for serverless analytics, while others serve different purposes.
Q86
A company needs to store large volumes of semi-structured JSON data. Which storage solution should they use?
ACloud SQL
BCloud Datastore
CCloud Storage
DBigtable
Explanation
Cloud Datastore is optimized for semi-structured data, unlike Cloud SQL, which is SQL-based.
Q87
What happens when an instance group in Google Compute Engine is configured with autoscaling?
AInstances are created based on traffic.
BInstances are manually scaled regularly.
CInstances are limited to one only.
DInstances remain static regardless of load.
Explanation
Autoscaling automatically adjusts instance counts based on defined metrics, while others do not.
Q88
Which Google Cloud service is best for data warehousing?
ABigQuery
BCloud Spanner
CCloud SQL
DCloud Datastore
Explanation
BigQuery is optimized for analytical queries, unlike the others which serve different purposes.
Q89
A company needs a scalable NoSQL database. Which option should they choose?
ACloud SQL
BCloud Storage
CFirestore
DBigtable
Explanation
Bigtable is designed for scalability and NoSQL use, while others don't meet this requirement.
Q90
What happens when you set a Pub/Sub subscription to 'acknowledged'?
AMessage will be deleted immediately
BMessage is temporarily deleted
CSubscriber receives the message again
DMessage is marked for later processing
Explanation
Acknowledging a message means it will be deleted, preventing reprocessing by other subscribers.