You are configuring IAM roles in Google Cloud. What happens if a user has multiple roles with conflicting permissions?
APermissions are additive.
BThe most restrictive takes effect.
CPermissions are ignored.
DThe last role defined takes effect.
Explanation
Permissions in IAM are additive; conflicting permissions do not negate each other.
Q382
Which service is best for streaming real-time data into a Data Lake?
ACloud Pub/Sub
BGoogle BigQuery
CCloud Storage
DCloud Functions
Explanation
Cloud Pub/Sub is designed for real-time data streaming, while others serve different purposes.
Q383
You are configuring IAM roles for a project. What role should you assign to allow read access to BigQuery datasets?
ABigQuery Data Viewer
BBigQuery Admin
CBigQuery Job User
DBigQuery Data Owner
Explanation
BigQuery Data Viewer allows read access, while others provide more permissions.
Q384
What happens when you set a GCS bucket's lifecycle rule to delete objects older than 30 days?
AAll objects deleted immediately
BObjects deleted after 30 days
CNo effect on objects
DOnly specific file types deleted
Explanation
Objects are deleted automatically after they exceed 30 days, while others are inaccurate descriptions.
Q385
Which Google Cloud service is used for real-time data processing?
ACloud Functions
BCloud Dataflow
CBigQuery
DCloud Storage
Explanation
Cloud Dataflow supports real-time processing, while others focus on different functions or batch processing.
Q386
A company needs to store sensitive data with strict access controls. Which service should they use?
AGoogle Cloud Storage
BCloud SQL
CSecret Manager
DBigQuery
Explanation
Secret Manager is designed for sensitive data storage, unlike general storage services.
Q387
What happens when you configure a Compute Engine instance with a non-existent service account?
AInstance creation fails immediately
BInstance uses default service account
CInstance creates a new service account
DInstance runs without authentication
Explanation
The instance uses the default service account when the specified one does not exist.
Q388
Which service allows real-time analytics on streaming data?
ABigQuery
BCloud Pub/Sub
CCloud Dataflow
DCloud Storage
Explanation
Cloud Dataflow enables real-time processing; BigQuery is for batch analytics, Pub/Sub is for messaging, and Cloud Storage is for file storage.
Q389
A company needs to manage large datasets with automatic scaling and high availability. Which service should they use?
ACloud SQL
BCloud Bigtable
CCloud Spanner
DCloud Memorystore
Explanation
Cloud Spanner offers automatic scaling and global consistency; Cloud SQL is for relational databases, Bigtable is ideal for NoSQL, and Memorystore is for caching.
Q390
You are configuring Kubernetes Engine. What happens if you set a node pool's machine type to a discontinued type?
ANode pool creation will succeed
BNode pool creation will fail
CNodes utilize a fallback type
DOnly new nodes fail to create
Explanation
The node pool creation will fail since only supported machine types can be used; fallback types are not an option for discontinued types at creation.