You are configuring IAM roles. What happens if you grant a user the Viewer role?
AUser can modify resources
BUser can view but not edit
CUser can delete resources
DUser has administrative access
Explanation
Viewer role allows users read-only access, not editing capabilities.
Q142
Which service is best for real-time data processing in Google Cloud?
ADataflow
BCloud Storage
CBigQuery
DCloud Pub/Sub
Explanation
Dataflow is designed for real-time data processing, while others serve different purposes.
Q143
A company needs to store user data securely while allowing access to data scientists. Which service should they use?
ACloud Storage
BBigQuery
CCloud SQL
DCloud Spanner
Explanation
BigQuery allows secure access and analysis of user data at scale for data scientists.
Q144
What happens when you set a negative TTL for a Cloud DNS record?
ARecord is deleted immediately
BRecord fails to resolve
CCache duration is infinite
DRecord has no effect
Explanation
A negative TTL effectively signals that the record should be immediately removed from caches.
Q145
Which Google Cloud service is best for real-time data analytics?
ABigQuery
BPub/Sub
CDataflow
DCloud Storage
Explanation
Dataflow is designed for real-time data analytics, while BigQuery is used for large datasets, Pub/Sub is for message delivery, and Cloud Storage is for object storage.
Q146
A company needs to schedule a recurring transfer of files from Cloud Storage to a BigQuery table. What is the best method to accomplish this?
AUse Cloud Functions
BUse Cloud Composer
CUse Data Transfer Service
DUse Pub/Sub
Explanation
Data Transfer Service is specifically designed for scheduled transfers, while Cloud Functions and Pub/Sub do not natively handle scheduled file transfers, and Cloud Composer is more for workflow orchestration.
Q147
What happens when you set the IAM policy of a Google Cloud resource to 'ALLOW' for a member that has no permissions?
AAccess granted to the resource
BAccess denied to the resource
CAccess granted only to IAM
DResource becomes public
Explanation
Access is denied since the member lacks permissions, regardless of the 'ALLOW' policy, while the other options falsely suggest permissions are automatically granted or altered.
Q148
Which service provides managed data warehousing in Google Cloud?
ABigQuery
BCloud SQL
CApp Engine
DCloud Functions
Explanation
BigQuery is specifically designed for data warehousing, while the other options serve different purposes.
Q149
A company needs to analyze large datasets in real-time. Which Google Cloud service should they use?
APub/Sub
BCloud Storage
CAutoML
DCloud Functions
Explanation
Pub/Sub enables real-time data ingestion for analytics, while the others do not focus on real-time capabilities.
Q150
What happens when you set a VM to preemptible in Google Cloud?
AGuaranteed uptime for 24 hours
BCheaper but can be terminated
CCreates a backup automatically
DFree for first 12 months
Explanation
Preemptible VMs are cheaper but can be terminated with little notice, unlike the other options.