Which Google Cloud service is designed for analytical workloads on large datasets?
ABigQuery
BCloud SQL
CFirestore
DCloud Spanner
Explanation
BigQuery is optimized for analytics, while the others serve different database needs.
Q2
A company needs to store unstructured data that is frequently accessed and can grow rapidly. What should they use?
ACloud Pub/Sub
BCloud Storage
CCloud SQL
DCloud Firestore
Explanation
Cloud Storage is ideal for unstructured data, while others serve different purposes.
Q3
You are configuring database replication. What happens when you set up a read replica in Google Cloud SQL?
AData is synchronized instantly.
BOnly SELECT queries are allowed.
CReplication lag may occur.
DWrite operations are mirrored.
Explanation
Replication lag can occur due to asynchronous replication, affecting data freshness.
Q4
Which Google Cloud service is best for modeling data relationships in a NoSQL database?
ACloud Firestore
BCloud Bigtable
CCloud Spanner
DCloud SQL
Explanation
Cloud Spanner supports complex relationships in a distributed environment, unlike the others which focus on different data models.
Q5
A company needs to maintain high availability of its database across multiple regions. What should it implement?
AMultiple multi-region databases
BA read-replica in one region
CAutomatic failover settings
DDatabase sharding across zones
Explanation
Using multiple multi-region databases ensures redundancy and availability; the other options may not be enough alone for high availability.
Q6
You are configuring a Firestore database. What happens if you try to write data exceeding the maximum document size limit?
AOperation will return an error
BData will be partially saved
CLimiting will be ignored
DData is saved without limits
Explanation
Attempting to exceed Firestore's document size limit causes an error, ensuring data integrity, while the other options inaccurately imply successful data writes.
Q7
Which service is best for serverless database interactions?
ACloud Firestore
BCloud SQL
CCloud Spanner
DBigtable
Explanation
Cloud Firestore is optimized for serverless apps, unlike the others.
Q8
A company needs multi-regional database replication. Which Google Cloud database should they choose?
ACloud SQL
BFirestore
CCloud Spanner
DDatastore
Explanation
Cloud Spanner supports multi-regional replication, while the others do not.
Q9
What happens when configuring auto-scaling for Cloud Bigtable?
ANodes automatically decrease in number
BRead/write throughput changes affect node count
CHigher latency for read queries
DData consistency is altered
Explanation
Node count in Bigtable adjusts based on throughput demands, ensuring performance stability and availability.
Q10
Which service is best for managing NoSQL databases in Google Cloud?
ACloud Firestore
BCloud SQL
CBigQuery
DCloud Spanner
Explanation
Cloud Firestore is designed specifically for NoSQL storage, while others support SQL or analytics functionality.