What happens when you exceed a Cloud SQL instance’s maximum connections?
ARequests are automatically retried
BNew connections are denied
CExisting connections are dropped
DInstance shuts down
Explanation
When maximum connections are exceeded, new connections are denied to maintain stability in the Cloud SQL instance.
Q82
Which service allows you to manage relational databases in Google Cloud?
ACloud SQL
BCloud Storage
CBigQuery
DCloud Datastore
Explanation
Cloud SQL is designed for relational databases, while the others serve different purposes.
Q83
A company needs to replicate their Cloud Spanner database across two regions for high availability. What must they do?
AEnable cross-region replication
BUse Cloud Storage buckets
CSet up a Cloud Function
DMigrate to BigQuery
Explanation
Cross-region replication is explicitly supported in Cloud Spanner for high availability.
Q84
You are configuring a Cloud Firestore database with rules for access control. What happens when a document is targeted by a read rule that denies access?
AAccess is granted with warnings
BAccess is completely denied
CAccess logs the attempt
DAccess returns a default value
Explanation
A deny rule in Firestore explicitly prevents access to the document.
Q85
Which service provides managed NoSQL database solutions?
AFirebase Realtime Database
BCloud SQL
CCloud Storage
DBigQuery
Explanation
Firebase Realtime Database is designed for NoSQL data, while Cloud SQL and BigQuery cater to SQL database and analytics respectively, and Cloud Storage is for unstructured data.
Q86
A company needs to access data from an on-premises database rapidly without downtime. Which approach is best?
AUse Database Migration Service.
BManually export and import data.
CCreate a read replica.
DUse Static Data Transfer.
Explanation
Database Migration Service allows for zero-downtime migrations, whereas manual transfer and static methods are slower or disruptive.
Q87
What happens when you disable a public IP on a Cloud SQL instance?
AInstance becomes inaccessible.
BOnly private IP is accessible.
CInstance runs on a different node.
DData is deleted immediately.
Explanation
Disabling the public IP allows access only via the private IP, while options A, C, and D misrepresent the instance's operational changes.
Q88
Which service is used for managed NoSQL databases in Google Cloud?
ACloud Bigtable
BCloud SQL
CCloud Functions
DCloud Pub/Sub
Explanation
Cloud Bigtable is specifically designed for NoSQL requirements while others serve different purposes or database types.
Q89
You are configuring IAM roles for a team using Cloud Storage. What is the least privilege principle?
AGrant all permissions
BGive minimal necessary access
CUse default presets only
DAssign one role per user
Explanation
The least privilege principle ensures users have only the access needed to perform their tasks, which enhances security.
Q90
What happens when a Cloud SQL instance is stopped?
AData is deleted
BInstance incurs charges
CData storage is retained
DAutomatic backups are disabled
Explanation
Stopping a Cloud SQL instance retains data storage, unlike deletion where data is lost; charges can vary based on configuration.