A company needs to analyze streaming data in real-time. What is the best choice?
ACloud Pub/Sub
BCloud Datastore
CCloud Functions
DCloud Filestore
Explanation
Cloud Pub/Sub allows for real-time messaging and data analytics; the others do not focus on streaming data.
Q12
You are configuring a Cloud SQL instance. What happens if you set the backup retention period to zero?
ABackups will always be taken
BNo automated backups will be created
CBackups will retain indefinitely
DOnly manual backups will occur
Explanation
Setting the retention to zero disables automatic backups, while others are inaccurate descriptions of backup behavior.
Q13
Which Google Cloud service is best for real-time analytics on large datasets?
ABigQuery
BCloud Functions
CCompute Engine
DCloud Storage
Explanation
BigQuery allows real-time analytics and can handle large datasets, while others serve different purposes.
Q14
A company needs to ensure its Cloud SQL instance has high availability. What should they configure?
ASingle zone operation
BRead replicas only
CRegional configuration
DManual backups only
Explanation
Regional configuration provides high availability by deploying instances in multiple zones.
Q15
What happens when you delete a set of backup snapshots in Google Cloud Storage?
AThey are permanently lost
BRestores become impossible
CThey can be recovered
DBackup jobs will be paused
Explanation
Deleted snapshots are not recoverable, permanently losing the data.
Q16
Which service automatically scales a database based on demand?
ACloud SQL
BCloud Spanner
CFirestore
DBigQuery
Explanation
Cloud Spanner is designed for automatic scaling, while others require manual intervention or have predefined limits.
Q17
A company needs real-time data processing and analytics on streaming data. Which Google Cloud service should they use?
ACloud Functions
BDataflow
CCloud Storage
DBigtable
Explanation
Dataflow is tailored for real-time data processing and analytics, while other options focus on different use cases.
Q18
You are configuring IAM roles for a Cloud SQL instance. What happens if you assign the 'Cloud SQL Client' role?
AGrants full database access
BRestricts access completely
CEnables read-only access
DAllows SQL instance management
Explanation
The 'Cloud SQL Client' role provides read-only access to the Cloud SQL instance, whereas other options either provide too much or too little access.
Q19
Which Google Cloud service is best for large-scale relational databases?
ACloud SQL
BFirebase Realtime Database
CCloud Bigtable
DCloud Firestore
Explanation
Cloud SQL supports relational databases well, while others are designed for different use cases.
Q20
A company needs to process streaming data with low latency. Which service should they use?
ACloud Pub/Sub
BCloud Storage
CCloud Functions
DCloud Spanner
Explanation
Cloud Pub/Sub is designed specifically for real-time streaming data, unlike the other options.