Which Google Cloud service offers serverless container execution?
ACloud Run
BGoogle Kubernetes Engine
CCloud Functions
DCompute Engine
Explanation
Cloud Run is specifically designed for running containerized applications in a serverless environment, while the others are not fully serverless.
Q392
A company needs to enforce encryption for sensitive data stored in Cloud Storage. Which approach should they take?
AEnable Object Versioning
BUse Customer-Supplied Encryption Keys
CSet up IAM Policies
DLimit Access to Cloud Console
Explanation
Customer-Supplied Encryption Keys provide direct control over data encryption, while the other options do not enhance encryption.
Q393
What happens when you set a Google Cloud IAM policy binding with 'roles/storage.admin' to a service account in a folder context?
AAccess to all project resources
BAccess only to storage in the project
CAccess to all folders within the project
DAccess to storage and management features
Explanation
'roles/storage.admin' allows full control over storage resources, including management capabilities, while others misrepresent permissions.
Q394
Which service provides a centralized identity repository in Google Cloud?
ACloud Identity
BCloud Storage
CBigQuery
DCompute Engine
Explanation
Cloud Identity provides a centralized identity management solution, while the others are unrelated services.
Q395
A company needs to securely store sensitive data while allowing access based on user roles. Which Google Cloud feature should they use?
AIAM Roles
BCloud Pub/Sub
CApp Engine
DCloud Functions
Explanation
IAM Roles enable fine-grained access control, while the other options do not specifically manage access based on roles.
Q396
What happens when a Google Cloud Storage bucket policy allows public access to objects?
AObjects are private to the owner.
BAnyone can read the objects.
CObjects are encrypted automatically.
DAccess must be requested via IAM.
Explanation
Public access allows anyone to read the objects, while the other options do not accurately reflect the implications of public access.
Q397
Which service is best for managing user roles in GCP?
AIAM
BCloud Functions
CCloud Storage
DBigQuery
Explanation
IAM is specifically designed for managing user roles, while others serve different functions.
Q398
A company needs to securely store sensitive data. Which GCP feature is most appropriate?
ACloud SQL Encryption
BCloud Functions
CCloud CDN
DGoogle Kubernetes Engine
Explanation
Cloud SQL offers encryption for sensitive data at rest and in transit, unlike the other options.
Q399
What happens when a policy is changed in GCP IAM after a role has been assigned?
ARole remains unchanged
BRole is immediately revoked
CRole is updated to new policy
DRole is temporarily suspended
Explanation
Changes in IAM policies impact assigned roles in real-time, updating permissions accordingly.
Q400
Which service provides identity federation in Google Cloud?
AIdentity and Access Management (IAM)
BCloud Identity
CGoogle Kubernetes Engine (GKE)
DCloud Identity-Aware Proxy
Explanation
Cloud Identity enables identity federation; others do not.