What happens when you assign an IAM role containing 'delete' permissions to a service account?
AIt can delete all resources.
BNo resources can be deleted.
COnly resources it owns can be deleted.
DIt can delete but requires confirmation.
Explanation
The service account retains delete permission for resources it's allowed to access.
Q322
Which service allows for automated certificate management on Google Cloud?
AGoogle Cloud Certificate Manager
BGoogle Kubernetes Engine
CCloud Identity
DCloud Pub/Sub
Explanation
Google Cloud Certificate Manager automates the management of TLS certificates; others do not deal with certificates.
Q323
A company needs to store sensitive data in a secure manner and meet compliance requirements. Which Google Cloud service is best suited for data encryption at rest?
ACloud Firestore
BCloud Storage
CCloud SQL
DBigQuery
Explanation
Cloud Storage provides built-in encryption at rest, while the others either do not focus on sensitive data or require additional setup.
Q324
You are configuring IAM roles in Google Cloud. What happens when a user is assigned both a role that grants edit access and another that grants view access?
AUser retains edit permissions only
BUser retains view permissions only
CUser retains both permissions
DRoles conflict and access denied
Explanation
IAM roles are cumulative, so the user retains both edit and view permissions; the other options contradict this cumulative nature.
Q325
Which Google Cloud service provides integrated threat detection?
ACloud Security Command Center
BCloud Pub/Sub
CCloud Spanner
DCloud Load Balancing
Explanation
Cloud Security Command Center offers comprehensive threat detection; others do not focus on security assessment or threat intelligence.
Q326
You are configuring IAM permissions for a project. Which role gives complete control over a project?
AViewer
BEditor
COwner
DBilling Account User
Explanation
Only the Owner role has full administrative control, while others have limited permissions.
Q327
What happens when you enable VPC Service Controls?
AImproves existing firewall rules
BRestricts access to services in VPC
CAllows public IP for all services
DIncreases available bandwidth
Explanation
VPC Service Controls enhance security by creating strong perimeters around Google Cloud services; others do not accurately describe its function.
Q328
Which service enables encryption key management for Google Cloud resources?
ACloud Key Management Service
BCloud Storage
CCloud Functions
DCloud Pub/Sub
Explanation
Cloud Key Management Service manages encryption keys, while the others serve different purposes.
Q329
A company needs to anonymize data in a dataset for analysis. What should they use?
AData Loss Prevention API
BIAM Policies
CVPC Service Controls
DCloud Identity
Explanation
The Data Loss Prevention API effectively anonymizes sensitive data, unlike IAM Policies and the others which do not focus on data anonymization.
Q330
What happens when you delete a Google Cloud Storage bucket without enabling Object Versioning?
AData is permanently lost
BData can be recovered easily
CData is archived automatically
DData is preserved for 30 days
Explanation
Once a bucket is deleted without versioning, its data is permanently lost; recovery options are not applicable.