Which service helps to manage access to Google Cloud resources?
AIdentity and Access Management (IAM)
BCloud Functions
CCloud Storage
DCloud Pub/Sub
Explanation
IAM is specifically designed for managing access controls, while the others serve different purposes.
Q152
A company needs to secure its Google Cloud Storage buckets against public access. What feature should they use?
ABucket Policies
BUniform Bucket-Level Access
CObject Versioning
DColdline Storage
Explanation
Uniform Bucket-Level Access restricts access at the bucket level, while bucket policies offer more granular control.
Q153
You are configuring a Virtual Private Cloud (VPC) network in Google Cloud. What happens when you enable Private Google Access?
AInstances can access Google services privately
BEnable public IPs for all instances
CIncrease network latency significantly
DDisable all outbound traffic
Explanation
Enabling Private Google Access allows instances without public IPs to reach Google services securely, not affecting latency or outbound rules.
Q154
Which service would you use for VM instance firewall management?
ACloud Armor
BVPC Firewall
CCloud Identity
DCloud NAT
Explanation
VPC Firewall manages traffic rules, while others do not.
Q155
A company needs to ensure secure access to its GCP environment from third-party vendors. What is the best approach?
AUse service accounts for API access
BImplement IAM roles for vendors
CShare personal credentials securely
DEnable public access to services
Explanation
IAM roles are secure ways to delegate permissions to vendors.
Q156
What happens when you assign a more permissive IAM role to a service account without examining existing policies?
AIncreased audit logs will be generated
BNo impact on existing permissions
CPotential security vulnerabilities arise
DService account becomes inactive
Explanation
More permissive roles can expose sensitive resources if not reviewed carefully.
Q157
Which service allows for centralized identity management in Google Cloud?
ACloud Identity
BCloud Functions
CCloud Pub/Sub
DCloud Build
Explanation
Cloud Identity helps manage users and permissions, while others serve different functions.
Q158
A company needs to ensure that their data is encrypted both at rest and in transit. Which service would best help evaluate this?
ACloud Data Loss Prevention
BCloud Resource Manager
CCloud Armor
DCloud Storage
Explanation
Cloud Data Loss Prevention specifically assesses data security, while others focus on resource management or protection against attacks.
Q159
You are configuring IAM roles in Google Cloud and want to grant access only for viewing VM instances. Which role should you assign?
ACompute Viewer
BCompute Admin
CEditor
DOwner
Explanation
Compute Viewer allows read access, while the others grant higher access levels than necessary.
Q160
Which service provides threat detection in Google Cloud?
ASecurity Command Center
BCloud Spanner
CBigQuery
DCloud Pub/Sub
Explanation
Security Command Center offers comprehensive threat detection, while others are for databases or messaging.