A company needs to ensure that only employees in the HR department can access sensitive payroll data. Which IAM policy structure should be implemented?
AService account-based permissions
BAllow all authenticated users
CRole-based access control
DPublic access permissions
Explanation
Role-based access control allows granting access to specific roles, fitting HR's needs, while others are too broad or insecure.
Q492
You are configuring a load balancer and notice traffic to multiple backend services seems unbalanced. What could you adjust to resolve this?
AHealth Check intervals
BSession Affinity settings
CBackend service locations
DBackend instance sizes
Explanation
Session Affinity ensures users continue connecting to the same instance, affecting traffic distribution; others don't directly address traffic imbalance.
Q493
Which service is primarily used for serverless computing in GCP?
ACloud Functions
BCompute Engine
CApp Engine
DCloud Run
Explanation
Cloud Functions is specifically designed for serverless computing, while the others offer different functionality.
Q494
A company needs to run a machine learning model with low latency. Which GCP service is the best choice?
ABigQuery
BCloud AI Platform
CCloud Functions
DCloud Dataproc
Explanation
Cloud AI Platform is optimized for deploying ML models with low latency, compared to the others which are not meant for that purpose.
Q495
You are configuring access for a GCP project. What is the purpose of IAM policies?
AManage billing settings
BControl user access permissions
CMonitor resource usage
DAutomate resource scaling
Explanation
IAM policies specifically define user access and permissions, while the other options refer to different management tasks.
Q496
Which service allows real-time data pipeline processing?
ACloud Pub/Sub
BCloud Storage
CCloud Functions
DDataflow
Explanation
Dataflow is specifically designed for real-time processing, whereas the others serve different purposes or are batch-oriented.
Q497
A company needs to configure a dedicated connection to Google Cloud. Which option should they use?
ACloud VPN
BInterconnect
CVPC Peering
DCloud Router
Explanation
Interconnect provides dedicated private bandwidth, while the others do not directly establish dedicated connectivity.
Q498
What happens when you deploy an App Engine application without setting traffic splitting?
ANo traffic is routed.
BAll traffic goes to version default.
CTraffic splits equally among versions.
DApplication fails to deploy.
Explanation
Without traffic splitting, the default version receives all traffic, while the others sit idle.