You are configuring a Google Cloud VPC. What happens when you set the subnet to auto-assign a public IP address?
AResources gain unique external IPs
BResources cannot reach the internet
CFirewall rules become irrelevant
DResources lose their internal IPs
Explanation
Setting auto-assign public IPs enables resources to communicate externally; the other options incorrectly represent VPC behavior.
Q442
You are configuring IAM policies for a project. Which role should you assign to allow a user to create service accounts only?
AService Account User
BService Account Admin
CService Account Creator
DViewer
Explanation
Service Account Creator allows the creation of service accounts, while others either provide broader permissions or no relevant permissions.
Q443
A company needs to protect sensitive data in BigQuery. Which feature provides the maximum level of data protection?
APolicy Tags
BRow-level Security
CCloud Key Management
DData Loss Prevention
Explanation
Row-level Security restricts access to individual rows in a dataset based on user attributes, providing fine-grained data protection.
Q444
What happens when you enable VPC Service Controls for a GCP project?
AIncreased billing rates apply.
BData remains accessible from anywhere.
CAccess to resources is restricted.
DNo services can connect externally.
Explanation
VPC Service Controls create security perimeters to restrict access to resources, enhancing data protection against threats.
Q445
Which service provides encryption at rest in Google Cloud?
ACloud Storage
BCloud Functions
CBigQuery
DCloud Run
Explanation
Cloud Storage offers built-in encryption at rest, while the others focus on execution or processing services.
Q446
A company needs to assign multiple roles to a single user without creating new groups. What is the best approach?
AUse IAM policy bindings
BCreate a service account
CEdit user's group membership
DRemove existing roles from user
Explanation
Using IAM policy bindings allows you to assign multiple roles to a user directly without group management.
Q447
What happens when a bucket policy is altered to disallow public access in GCP?
APublic access is permitted
BNo users can access the bucket
COnly authenticated users have access
DAll access is denied instantly
Explanation
Disallowing public access restricts access to only authenticated users without denying all access.
Q448
Which service provides DDoS protection in GCP?
ACloud Armor
BCloud CDN
CCloud Firestore
DCloud Functions
Explanation
Cloud Armor provides DDoS protection, while the others do not focus on this aspect.
Q449
A company needs to securely access its VM instances remotely. What should they use?
AGCP Console
BCloud Shell
CSSH keys with OS login
DCloud VPN
Explanation
SSH keys with OS login ensure secure access, unlike the other options which do not provide the same level of security.
Q450
What happens when you disable the default firewall rules in GCP?
AOnly egress rules apply
BAll traffic is blocked
CIngress traffic is unaffected
DVMs cannot access the internet
Explanation
Disabling default firewall rules blocks all incoming traffic unless specifically allowed, unlike the other options.