Which Google Cloud service enables real-time data analytics?
ABigQuery
BCloud Storage
CCloud Spanner
DCloud Memorystore
Explanation
BigQuery is optimized for real-time analytics, while others focus on storage or transactional data.
Q392
A company needs to store sensitive user information securely. Which database should they choose?
ACloud SQL
BCloud Bigtable
CFirestore
DCloud Datastore
Explanation
Cloud Bigtable is best for handling sensitive data through encryption and offers high performance while the others may not be optimal for scaling.
Q393
What happens when a high capacity Cloud Spanner instance reaches maximum storage?
AInstance shuts down immediately
BNew writes are rejected
CRead operations continue unaffected
DCapacity automatically scales up
Explanation
Cloud Spanner stops accepting new writes to prevent overuse, while reads may still work pending capacity.
Q394
Which service is best for managed PostgreSQL in GCP?
ACloud SQL
BBigQuery
CFirestore
DCloud Spanner
Explanation
Cloud SQL is specifically designed for managed PostgreSQL unlike the others.
Q395
A company needs to migrate its on-premises Oracle database to GCP with minimal downtime. Which service combination should they use?
ADatabase Migration Service and Cloud SQL
BDataflow and Cloud Bigtable
CCloud Spanner and Firestore
DCloud Datastore and BigQuery
Explanation
Database Migration Service facilitates low-downtime migrations, making this option optimal.
Q396
What happens when you enable binary logging in Cloud SQL?
AIncreased read replicas
BData is automatically backed up
CTracks changes for replication
DEnhances query performance
Explanation
Binary logging is used primarily for replication and data recovery, not the other options.
Q397
Which service is best for managed PostgreSQL databases?
AGoogle Cloud SQL
BBigQuery
CCloud Spanner
DFirestore
Explanation
Google Cloud SQL specifically supports managed PostgreSQL, while other options serve different purposes.
Q398
A company needs to migrate a large on-premises Oracle database to Google Cloud. What is the best practice?
AUse Google's Database Migration Service
BManually export and import data
CDeploy a new Oracle instance in GCE
DUse a third-party migration tool only
Explanation
Google's Database Migration Service is designed for efficient migrations to Cloud SQL or other Google databases.
Q399
You are configuring Cloud Firestore security rules. What happens if a rule permits access only to users with 'isAdmin' set to true, but a document does not have that field?
AAccess is denied to all users
BAccess is granted to all users
CAccess is granted to specific users
DAccess depends on user role
Explanation
If the 'isAdmin' field is missing, the rule defaults to deny access based on the condition specified.
Q400
Which service provides fully managed NoSQL database?
AFirestore
BCloud SQL
CCloud Spanner
DBigtable
Explanation
Firestore is a fully managed NoSQL database, while Cloud SQL and Cloud Spanner cater to SQL databases, and Bigtable is for wide-column stores.