Which Google Cloud service can enforce security policies across multiple projects?
AOrganization Policy Service
BCloud Security Scanner
CCloud Monitoring
DCloud Armor
Explanation
The Organization Policy Service centrally manages security policies, while other options do not focus on multi-project policy enforcement.
Q62
A company needs to ensure its Google Cloud services comply with GDPR. What should they enable?
AResource Labels
BData Loss Prevention API
CIdentity-Aware Proxy
DCloud Pub/Sub
Explanation
The Data Loss Prevention API identifies and helps mitigate data exposure, crucial for GDPR compliance.
Q63
You are configuring a firewall rule for a Compute Engine VM. What happens when you set the action to 'deny'?
ABlocks incoming traffic only
BAllows all incoming traffic
CBlocks all matching traffic
DDoes not affect traffic
Explanation
Setting the action to 'deny' blocks all traffic that matches specified rules, unlike other options.
Q64
Which service provides identity and access management in GCP?
AIAM
BCloud Storage
CBigQuery
DCompute Engine
Explanation
IAM is specifically designed for managing identities and access permissions, while the others serve different purposes.
Q65
What happens when you assign multiple firewall rules to a GCP project?
AThe most permissive rule applies
BAll rules must match
COnly the first rule is effective
DBlocked if any rule blocks
Explanation
GCP firewall rules are evaluated in order of priority, with the most permissive rule taking precedence.
Q66
A company needs to enforce network segmentation between production and development environments in GCP. What is the best approach?
AUse VPCs for segmentation
BUse IAM roles for segregation
CDeploy shared VPNs
DRestrict cloud function access
Explanation
Using separate VPCs provides the strongest isolation between environments, unlike the other options which do not ensure physical separation.
Q67
Which service enforces policies on Google Cloud resources?
AOrganization Policies
BCloud Monitoring
CIdentity-Aware Proxy
DCloud Functions
Explanation
Organization Policies allow you to enforce policies across resources; the others are not designed for policy enforcement.
Q68
A company needs to ensure their data encrypted at rest is also encrypted in transit. Which combination of services should they use?
ACloud Storage and SSL
BCloud Pub/Sub and HTTP
CCloud Storage and FTP
DBigQuery and TCP
Explanation
Cloud Storage with SSL enables data encryption both at rest and in transit, while the other options do not provide encryption in both scenarios.
Q69
You are configuring a firewall rule that should deny ingress traffic from a specific IP range. What happens if you prioritize this rule after a general allow rule?
ADeny rule supersedes allow rule
BAllow rule takes precedence over deny
CTraffic is logged but not blocked
DConfiguration will fail
Explanation
In Google Cloud, a higher priority rule will always take precedence, so the allow rule will allow traffic before the deny rule can act.
Q70
Which Google Cloud service provides DDoS protection?
AGoogle Cloud Armor
BCloud CDN
CCloud Interconnect
DCloud Functions
Explanation
Google Cloud Armor specifically offers DDoS protection, while others do not.