You are configuring IAM roles for a GCP project. What happens when you assign a role with `serviceAccount.user` permissions?
AUser accesses service account securely
BService account privileges are revoked
CUser cannot use the service account
DUser can manage service accounts
Explanation
`serviceAccount.user` allows users to act on behalf of the service account, while the other options misinterpret the role's permissions.
Q322
Which service offers serverless computing on Google Cloud?
ACloud Functions
BCompute Engine
CApp Engine
DCloud Run
Explanation
Cloud Functions provides event-driven serverless computing, while the other options require server management.
Q323
A company needs to analyze big data with SQL-like syntax. Which Google Cloud service should they use?
ABigQuery
BCloud SQL
CCloud Spanner
DDataflow
Explanation
BigQuery is designed for large-scale analytics using SQL, unlike the others which fulfill different purposes.
Q324
What happens when you enable a firewall rule in GCP?
ABlocks all traffic immediately
BAllows all traffic by default
CDeny traffic matching the rule
DOnly allows specified traffic
Explanation
Enabling a firewall rule allows only specified traffic, while the other options misinterpret how firewall rules function.
Q325
Which service provides real-time data processing in GCP?
ACloud Pub/Sub
BCloud Storage
CBigQuery
DCloud Functions
Explanation
Cloud Pub/Sub supports real-time messaging; others do not focus on real-time processing.
Q326
A company needs to manage access to its resources efficiently. Which GCP feature should they implement?
AService Accounts
BVPC Peering
CCloud Spanner
DCloud IAM
Explanation
Cloud IAM offers comprehensive identity and access management features; the other options serve different purposes.
Q327
What happens when a VM instance is stopped in GCP?
AData is permanently lost
BResources are released and stored
CInstance is deleted automatically
DBilling continues during stopped state
Explanation
Stopping a VM releases resources, but the instance configuration is preserved; others incorrectly imply data loss or ongoing billing.
Q328
Which service allows you to automate infrastructure deployment?
ACloud Deployment Manager
BCloud Functions
CCloud Pub/Sub
DCloud Storage
Explanation
Cloud Deployment Manager is designed for automating infrastructure, whereas the others serve different purposes such as event-driven execution or storage.
Q329
A company needs to store large volumes of asynchronous logs for analysis without immediate access. Which Google Cloud service should they choose?
ABigQuery
BCloud Storage
CCloud SQL
DCloud Pub/Sub
Explanation
Cloud Storage is optimal for storing large volumes of data, while BigQuery is suited for analysis, and Cloud SQL and Pub/Sub are for structured data and messaging, respectively.
Q330
What happens when using VPC peering with overlapping IP ranges?
ATraffic routes through both VPCs
BPeering establishes successfully
CConnection will fail
DVirtual machines become unreachable
Explanation
VPC peering fails with overlapping IP ranges to prevent routing conflicts; the others do not accurately describe the behavior.