A company needs to migrate a relational database to Google Cloud. Which service should they choose for minimal downtime?
ADatabase Migration Service
BCloud Memorystore
CCloud Functions
DDatastore
Explanation
The Database Migration Service is designed for low-downtime migrations of relational databases, while the other options are not intended for this purpose.
Q402
What happens when you set a Cloud SQL instance to private IP?
AInstance is accessible over the public internet
BInstance can only be accessed via VPN
CInstance is isolated from all networks
DInstance becomes read-only
Explanation
Setting a Cloud SQL instance to private IP limits access to private networks, typically VPN or VPC peering, while the other options misstate its capabilities.
Q403
Which service allows real-time data processing in GCP?
ACloud Dataflow
BCloud Storage
CCloud SQL
DBigQuery
Explanation
Cloud Dataflow is designed for real-time processing; others are not.
Q404
A company needs to ensure data stored in Firestore is secure. Which IAM role should they assign?
AFirestore Viewer
BFirestore Editor
CFirestore Owner
DViewer Role
Explanation
Firestore Owner provides comprehensive permissions, while others are more limited.
Q405
What happens when you set a Cloud SQL instance to 'public' access?
AEndpoint becomes visible externally
BData is encrypted automatically
CBackups are disabled
DFirewall rules are ignored
Explanation
Public access exposes the endpoint; the other options are incorrect actions or settings.
Q406
Which service is designed for real-time analytics in Google Cloud?
ABigQuery
BCloud Storage
CCloud SQL
DFirestore
Explanation
BigQuery is optimized for real-time analytics, while others are not primarily designed for this purpose.
Q407
A company needs to securely manage database access. What should they implement?
AIAM roles and permissions
BCloud Functions
CStackdriver Monitoring
DCloud Pub/Sub
Explanation
IAM roles and permissions effectively manage access, while others do not directly address security management.
Q408
What happens when you configure a database to use public IP addresses without proper security?
AIncreased security and data integrity
BPotential exposure to attacks
CEnhanced performance
DImmediate connection failures
Explanation
Public IP configuration without security increases vulnerability, while others suggest incorrect outcomes.
Q409
Which service is best for serverless data warehousing?
ABigQuery
BCloud SQL
CFirestore
DCloud Spanner
Explanation
BigQuery is designed for serverless analysis while others require provisioning and management.
Q410
A company needs real-time processing of streaming data. Which service should they use?
ACloud Run
BPub/Sub
CCloud Storage
DCloud Functions
Explanation
Pub/Sub is designed for real-time message ingestion and processing, while others are not optimized for streaming.