A company needs to ensure that only specific users can access its Google Cloud resources based on their role. Which Google Cloud service should they configure?
AGoogle Kubernetes Engine
BCloud Identity and Access Management (IAM)
CCloud Audit Logs
DCloud Storage
Explanation
IAM is specifically designed to manage access based on roles.
Q42
What happens when you enable VPC Service Controls on a Google Cloud project?
AIncreased public accessibility
BVendor lock-in increases
CData exfiltration risk reduces
DBilling rates change
Explanation
VPC Service Controls help mitigate data exfiltration risks by enforcing security perimeters.
Q43
Which Google Cloud service allows you to analyze big data using SQL-like queries?
ABigQuery
BCloud Spanner
CCloud Datastore
DCloud Pub/Sub
Explanation
BigQuery is specifically designed for data analysis using SQL-like syntax, while the others serve different purposes.
Q44
A company needs to establish its own custom security policies for resources in Google Cloud. Which service should they use?
ACloud Identity
BOrganization Policy Service
CCloud Functions
DCloud Resource Manager
Explanation
The Organization Policy Service allows custom security policies across resources, unlike the others.
Q45
What happens when you incorrectly configure VPC firewall rules and deny ingress traffic?
AAll outbound traffic is blocked
BAccess to external systems is blocked
CInternal communication fails only
DNo impact on network policies
Explanation
Denying ingress traffic can block access from outside the VPC, impacting external communications.
Q46
Which service helps analyze logs in Google Cloud?
ACloud Logging
BCloud Storage
CCloud Monitoring
DCloud Functions
Explanation
Cloud Logging is specifically designed to analyze and store logs, while others serve different purposes.
Q47
A company needs to deploy a VM that complies with compliance standards; which Google Cloud service should it use?
ACompute Engine
BApp Engine
CCloud Run
DKubernetes Engine
Explanation
Kubernetes Engine supports compliance-oriented workloads efficiently, unlike others which have different use-cases.
Q48
What happens when you enable VPC Flow Logs for a network in GCP?
AAll instances receive more bandwidth
BTraffic patterns are logged
CSecurity is automatically enhanced
DCosts are halved for egress traffic
Explanation
VPC Flow Logs captures and logs information about virtual network traffic, while other options are misleading.
Q49
Which service provides native DDoS protection for Google Cloud users?
ACloud Armor
BCloud CDN
CCloud Functions
DCloud Storage
Explanation
Cloud Armor is designed specifically to protect against DDoS attacks; the others do not offer dedicated DDoS protection.
Q50
A company needs to store logs for compliance purposes. What should they enable?
AAudit Logs
BVPC Flow Logs
CStackdriver Monitoring
DInstance Logs
Explanation
Audit Logs are specifically designed to capture compliance-related activities; the others serve different monitoring purposes.