You are configuring a Cloud IAM policy. What happens if a user has conflicting permissions?
ADeny all permissions
BAllow the most permissive
CDeny the least permissive
DAllow based on roles only
Explanation
IAM allows the most permissive permission in conflicts; the others misinterpret IAM behavior.
Q472
Which service provides serverless computing in Google Cloud?
AGoogle Cloud Functions
BGoogle Compute Engine
CGoogle Kubernetes Engine
DGoogle App Engine
Explanation
Google Cloud Functions offers serverless execution, while others involve provisioning resources.
Q473
A company needs to optimize costs for its Cloud Storage usage. What feature can help achieve this?
AStorage Class Selector
BData Loss Prevention
CAccess Control List
DMulti-Regional Storage
Explanation
Storage Class Selector allows you to manage costs by selecting appropriate storage types based on access frequency.
Q474
You are configuring IAM roles in Google Cloud. What happens when a user has multiple roles within the same project?
AThey gain the highest permission level
BOnly the first role is considered
CThey access all permissions combined
DPermissions are averaged out
Explanation
Users receive access rights based on all assigned roles, not just the highest one.
Q475
Which Google Cloud service is best for real-time analytics on streaming data?
ADataflow
BBigQuery
CCloud Storage
DCloud Pub/Sub
Explanation
Dataflow is specifically designed for processing and analyzing streaming data in real-time, while BigQuery is for batch analytics, Cloud Storage is for storage, and Pub/Sub is for message passing.
Q476
A company needs to ensure that only its internal users can access its APIs. What should it implement?
AIAM roles
BFirewall rules
CVPN access
DService accounts
Explanation
IAM roles allow fine-grained access control for internal users, whereas firewall rules and VPN can control network access but not user authentication, and service accounts are for automated tasks.
Q477
You are configuring a load balancer. What happens if health checks fail for all backends?
ATraffic is stopped entirely.
BTraffic is routed to the next region.
CA 503 error is returned.
DThe service automatically restarts.
Explanation
If health checks fail for all backends, a 503 Service Unavailable error is returned, indicating that no healthy backends are available. Traffic cannot continue without a health backend; traffic is not rerouted or stopped completely.
Q478
Which service is best for real-time data analytics?
ABigQuery
BCloud Functions
CCloud Storage
DCompute Engine
Explanation
BigQuery is optimized for real-time analytics; other options focus on different functions.
Q479
A company needs to ensure their application is highly available across regions. What should they implement?
ARegional Load Balancing
BStandard VM Instances
CSingle Zone Deployment
DCross-Region Replication
Explanation
Cross-Region Replication provides high availability; the other options do not ensure this across regions.
Q480
What happens when a Google Cloud project runs out of quota?
AServices will be suspended
BBilling will stop temporarily
CRequests will be throttled
DUsage will increase automatically
Explanation
Requests are throttled when quotas are exceeded; services won't be suspended instantly.