What happens when you use a Firestore instance in an offline mode?
AData losses occur during sync
BLocal data is cached
CIndexed data is deleted
DOnly reads are allowed
Explanation
Firestore allows local caching of data for offline access, unlike other options which are incorrect.
Q382
Which service is best for NoSQL document storage?
AFirestore
BCloud Spanner
CBigQuery
DCloud SQL
Explanation
Firestore is designed for NoSQL document storage; Cloud Spanner is for SQL, BigQuery for analytics, and Cloud SQL for relational data.
Q383
A company needs to migrate data from on-premise MySQL to GCP without downtime. What should they use?
ADatabase Migration Service
BCloud Storage Transfer Service
CDataflow
Dgsutil
Explanation
Database Migration Service allows for minimal downtime when migrating databases; the others do not support this specific use case.
Q384
You are configuring Cloud SQL replicas. What happens when a master instance is deleted?
AReplicas become standalone instances
BReplicas remain active but unusable
CReplicas are automatically deleted
DReplicas migrate to another region
Explanation
If the master is deleted, all replicas are also deleted as they depend on the master instance.
Q385
Which service allows managed serverless Postgres databases?
ACloud SQL
BBigQuery
CCloud Spanner
DFirestore
Explanation
Cloud SQL provides serverless managed databases for Postgres; others serve different purposes.
Q386
A company needs to maintain data consistency during multi-region writes. What should they use?
ACloud Bigtable
BCloud Spanner
CFirestore
DCloud SQL
Explanation
Cloud Spanner offers strong consistency and horizontal scalability across regions; others do not handle this well.
Q387
You are configuring a backup policy in Cloud SQL. What happens when you set the backup to 'enabled' but 'no retention'?
ABackups will not be taken.
BAll backups are kept indefinitely.
CBackups will be deleted immediately.
DBackups will be expired automatically.
Explanation
Setting 'no retention' means backups will be automatically deleted when new backups are taken; others are incorrect regarding backup management.
Q388
Which service is best for NoSQL databases in GCP?
AFirestore
BCloud SQL
CBigQuery
DCloud Spanner
Explanation
Firestore is tailored for NoSQL document storage, unlike the others that serve different database models.
Q389
A company needs to set up a relational database with automated backups. What should they choose?
ACloud Bigtable
BCloud SQL
CFirestore
DMemorystore
Explanation
Cloud SQL supports automated backups for relational databases, while others do not have this feature.
Q390
What happens when an instance exceeds its allocated CPU quota on GCP?
AInstance is automatically suspended
BAdditional charges are applied
CInstance performance degrades
DInstance is recreated with higher quota
Explanation
Performance degrades when CPU quota is exceeded; it does not auto-suspend or elevate the quota automatically.