You are configuring a Cloud Firestore database's indexing strategy. What happens when you create a compound index?
AQueries run faster
BOnly single-field indexes are used
CNo additional billing occurs
DIt reduces read performance
Explanation
A compound index optimizes queries involving multiple fields, thus enhancing performance while others are misleading or incorrect.
Q52
Which service is best for real-time data processing?
ACloud Pub/Sub
BCloud Storage
CCloud SQL
DCloud Dataflow
Explanation
Cloud Dataflow is designed for real-time processing, while the others serve different purposes.
Q53
A company needs a highly available database solution. Which feature should they prioritize?
ABackups
BAuto-scaling
CMulti-regional replication
DCost-effectiveness
Explanation
Multi-regional replication provides durability and availability, crucial for high availability.
Q54
What happens when you disable a Cloud Firestore index?
AAll queries fail
BQueries are slower
CData becomes inaccessible
DIt's permanently deleted
Explanation
Disabling an index does not delete it; queries may run slower without it.
Q55
Which Google Cloud service is best for serverless SQL databases?
ACloud SQL
BDatastore
CBigtable
DCloud Spanner
Explanation
Cloud SQL provides a fully managed serverless SQL database, while others are not SQL databases or serverless.
Q56
A company needs to migrate their on-premises databases to Google Cloud. What should they prioritize in their migration planning?
AReducing storage costs only
BMinimizing downtime
CUsing legacy software
DChoosing the cheapest service
Explanation
Minimizing downtime is crucial for successful database migrations, unlike the other options.
Q57
You are configuring Auto ML for dataset predictions. What is a critical requirement?
AData must be highly balanced
BUse only structured data
CAll labels must be unique
DData should be correctly labeled
Explanation
Correct labeling of data is crucial for training models effectively, while other options are not universally required.
Q58
Which service is best for NoSQL document storage?
AFirestore
BCloud Spanner
CBigQuery
DCloud SQL
Explanation
Firestore is optimized for NoSQL document storage, while the others serve different database models.
Q59
A company needs low-latency transactions for their e-commerce platform. Which database should they choose?
ACloud Spanner
BFirestore
CBigtable
DCloud SQL
Explanation
Cloud Spanner provides strong consistency and low-latency transactions across global instances, making it ideal for e-commerce.
Q60
You are configuring a Cloud SQL instance. What happens if you disable automatic storage increase?
AIncreases storage on demand
BStops storage from being expanded
CNullifies your instance
DEnables dynamic scaling
Explanation
Disabling automatic storage increase prevents storage from automatically expanding, potentially leading to out-of-space errors if capacity is reached.