A company needs to store large datasets with concurrent access. What should they use?
ACloud SQL
BCloud Storage
CSpanner
DBigtable
Explanation
Spanner supports strong consistency and horizontal scalability, which is ideal for large datasets with concurrency.
Q72
What happens when a Compute Engine VM's persistent disk is resized?
AThe VM restarts automatically
BData is deleted during resize
CDisk must be formatted again
DVolume becomes available immediately
Explanation
Resizing a persistent disk makes it available immediately without losing any data.
Q73
Which service is best for real-time data analytics?
ABigQuery
BCloud Storage
CCloud Functions
DCloud Pub/Sub
Explanation
BigQuery is optimized for real-time data analytics, while the others serve different purposes such as storage or messaging.
Q74
A company needs to securely store sensitive customer data in compliance with regulations. Which storage option should they use?
AGoogle Cloud Storage Standard
BGoogle Cloud Firestore
CGoogle Cloud SQL with encryption
DGoogle Cloud Spanner
Explanation
Google Cloud SQL with encryption offers enhanced security and compliance for sensitive data compared to other options.
Q75
What happens when you assign a more permissive IAM role to a user who already has a restrictive role?
AUser's permissions remain unchanged
BUser gains additional permissions
CUser loses all previous permissions
DUser can only access one service
Explanation
IAM is additive, so the user retains both roles' permissions.
Q76
Which Google Cloud service provides managed relational databases?
ACloud SQL
BCloud Storage
CCloud Functions
DCloud Run
Explanation
Cloud SQL offers fully managed relational databases; others do not focus on databases.
Q77
A company needs to limit a service account to access only specific GCP resources. What is the best approach?
AUse IAM roles based on best practices.
BAssign it to all resources available.
CSet it as an Organization Admin.
DDisable access logging for efficiency.
Explanation
Using IAM roles ensures least privilege access; the others grant excessive permissions.
Q78
What happens when you configure a GCP Network Load Balancer with multiple backend services?
ATraffic routes to the least loaded.
BRequests only go to primary backend.
CDistribution based on IP addresses.
DLoad balanced across backends.
Explanation
A Network Load Balancer distributes traffic across multiple backends; other options misrepresent behavior.
Q79
Which service allows real-time data processing in Google Cloud?
ACloud Functions
BCloud Dataflow
CApp Engine
DCloud Storage
Explanation
Cloud Dataflow is specifically designed for real-time data processing, while the others serve different purposes.
Q80
A company needs to segregate access to resources within a project. Which method should they use?
AService Accounts
BIAM Roles
CCloud Storage ACLs
DVPC Network
Explanation
IAM Roles assign specific permissions to users and groups, allowing access segregation, while the others do not focus on user access control in this manner.