You are configuring IAM roles for a new project. What happens if a user has multiple conflicting roles?
AThey gain the highest permissions.
BOnly the first role is effective.
CThey are denied access.
DPermissions are combined but limited.
Explanation
The highest permissions from conflicting roles are granted in IAM.
Q472
Which service is best for serverless data analytics?
ABigQuery
BCloud Run
CCloud Storage
DApp Engine
Explanation
BigQuery is designed specifically for serverless analytics, while the others focus on different types of services.
Q473
A company needs secure access control to resources. What should they use?
AIAM Roles
BVPC Peering
CCloud Functions
DCloud Router
Explanation
IAM Roles provide secure access management, while the others do not focus specifically on access control.
Q474
You are configuring a Dataflow job and need to set lower priority for certain tasks. What happens when you do so?
ATasks will run later if resources are low.
BTasks will be skipped entirely.
CExecution time will double.
DNo effect on other tasks.
Explanation
Lower priority tasks execute after higher priority ones, allowing resource allocation. The other options mischaracterize how task priorities work.
Q475
Which service best handles event-driven architecture?
ACloud Pub/Sub
BCloud DNS
CCloud Functions
DCloud Storage
Explanation
Cloud Pub/Sub is designed for event-driven systems; the others don't focus on event management.
Q476
A company needs to analyze unstructured data in real-time. Which Google Cloud service should they utilize?
ABigQuery
BCloud Dataproc
CCloud Dataflow
DCloud Spanner
Explanation
Cloud Dataflow is optimized for streaming and unstructured data analytics, while others aren't as suitable for real-time processing.
Q477
What happens when you enable a Data Loss Prevention (DLP) job on a Cloud Storage bucket?
AData is automatically deleted
BSensitive data is redacted
CMetadata is encrypted
DAccess is restricted
Explanation
DLP jobs focus on identifying and redacting sensitive data, not deletion or encryption of metadata. Others inaccurately describe DLP actions.
Q478
A company needs to analyze streaming data in real-time. Which service is most suitable for this purpose?
AGoogle Cloud Pub/Sub
BGoogle Cloud Storage
CGoogle BigQuery
DGoogle Dataproc
Explanation
Google Cloud Pub/Sub enables real-time event processing, while others are for storage or batch analysis.
Q479
What happens when you delete a Cloud Storage bucket that contains objects?
AOnly empty buckets can be deleted
BAll objects are permanently deleted
CObjects can be restored
DBucket configurations are preserved
Explanation
All objects are permanently deleted alongside the bucket when deleting it.
Q480
You are configuring IAM roles for a project. Which option provides the least privileges necessary for data access?
AOwner role on all resources
BEditor role for specific resources
CViewer role on all resources
DCustom role with specific permissions
Explanation
A custom role can provide only the specific permissions needed, ensuring a least-privilege access model.