A company needs to analyze large datasets efficiently on Google Cloud. Which service should they choose for advanced analytics without worrying about infrastructure management?
ABigQuery
BCloud SQL
CDataproc
DCloud Spanner
Explanation
BigQuery is designed for serverless analytics of large datasets; the other options involve more management overhead.
Q12
You are configuring a private cluster in GKE. What happens if you enable the Private Google Access feature?
ANodes cannot access Google APIs.
BNodes gain access to Google APIs.
CPublic IP addresses are required.
DCluster will be open to internet.
Explanation
Enabling Private Google Access allows cluster nodes to access Google APIs without external IPs, ensuring secure communication.
Q13
Which service is primarily used for serverless compute in Google Cloud?
ACloud Functions
BApp Engine
CCompute Engine
DCloud Run
Explanation
Cloud Functions offers a serverless environment, unlike the other options that either require or allow for managing servers.
Q14
A company needs to store large amounts of unstructured data with low access frequency. Which Google Cloud service should they choose?
ACloud Spanner
BCloud Storage Coldline
CBigQuery
DCloud SQL
Explanation
Cloud Storage Coldline is designed for infrequent access, while others are either for structured data or more frequent access.
Q15
What happens when you set an IAM policy with a Deny rule?
AIt overrides Allow rules
BIt has no effect
CIt only applies to new users
DIt creates a conflict with role permissions
Explanation
Deny rules take precedence over Allow rules, making option A correct and others incorrect regarding IAM behavior.
Q16
Which service is best for serverless computing?
ACloud Functions
BCompute Engine
CKubernetes Engine
DCloud Storage
Explanation
Cloud Functions provides a serverless environment, while others require provisioning servers.
Q17
A company needs to securely manage access levels for different users in a multi-project environment. What should they use?
AService Accounts
BIAM Roles
CCloud Policies
DResource Manager
Explanation
IAM Roles allow granular access management for users across projects, unlike the other options.
Q18
What happens when a VM instance on Google Compute Engine exceeds its resource quota?
AThe instance will be halted automatically
BThe instance will crash immediately
CNew instances cannot be created
DPerformance will not be affected
Explanation
Exceeding the resource quota prevents creating additional resources, but does not immediately affect existing instances.
Q19
Which Google Cloud service automates the deployment of applications?
AGoogle Kubernetes Engine
BCloud Functions
CApp Engine
DCloud Run
Explanation
App Engine automates application deployment; the others require more manual setup.
Q20
A healthcare company needs to analyze patient data securely while complying with HIPAA. What should they use?
ABigQuery without encryption
BCloud SQL with private IP
CCloud Storage with public access
DData Loss Prevention API
Explanation
Cloud SQL with private IP meets HIPAA, while others do not ensure secure access.