A company needs to analyze large datasets. Which service should they use?
ACloud Pub/Sub
BCloud Functions
CBigQuery
DCloud Run
Explanation
BigQuery is optimized for large-scale data analysis; the others do not specialize in data analysis.
Q102
You are configuring a Google Cloud VPC. What does adding a firewall rule accomplish?
AEnables Cloud IAM roles
BManages access to resources
CIncreases network bandwidth
DDirects traffic between services
Explanation
A firewall rule governs access to resources; the other options pertain to different functionalities in Google Cloud.
Q103
Which service allows you to run containers in Google Cloud?
AGoogle Kubernetes Engine
BGoogle Cloud Functions
CCloud Storage
DBigQuery
Explanation
Google Kubernetes Engine is designed for container orchestration, unlike the others which serve different purposes.
Q104
A company needs to store large binary files efficiently. Which GCP service should they choose?
ACloud SQL
BCloud Storage
CCompute Engine
DCloud Spanner
Explanation
Cloud Storage is specifically optimized for large object storage, unlike the others which are meant for relational databases or virtual machines.
Q105
You are configuring IAM roles for your team. What happens if a user has conflicting roles assigned?
AOnly the highest role applies
BAll roles are applied simultaneously
CThe user is denied access
DThe least privilege role is enforced
Explanation
In IAM, all roles are aggregated, allowing access as defined by all assigned roles, not just one.
Q106
Which service is primarily used for serverless data processing?
ACloud Functions
BCloud Storage
CCloud Run
DDataflow
Explanation
Dataflow is designed for stream and batch processing, making it ideal for serverless data processing, while others serve different functions.
Q107
A company needs to manage its user permissions efficiently. Which Google Cloud feature should they implement?
AService Accounts
BIAM roles
CBucket Policies
DFirewall Rules
Explanation
IAM roles allow granular and efficient management of user permissions across Google Cloud resources, unlike the other options which focus on different aspects.
Q108
You are configuring a BigQuery dataset. What happens if you set the default table expiration to 30 days?
ATables are deleted after 30 days
BTables cannot be accessed after 30 days
CData retention is mandatory for 30 days
DTables cannot be created in the dataset
Explanation
Setting a table expiration causes it to be automatically deleted 30 days after its creation, while the other options misrepresent default behavior.
Q109
Which Google Cloud service provides serverless event-driven compute?
ACloud Functions
BApp Engine
CCloud Run
DCompute Engine
Explanation
Cloud Functions is designed for serverless, event-driven computation; others focus on managing infrastructure.
Q110
A company needs to process large streams of real-time data efficiently. Which service should they use?
ACloud Pub/Sub
BCloud Storage
CBigQuery
DCloud Dataflow
Explanation
Cloud Pub/Sub is ideal for messaging and real-time data streams; other options do not cater to streaming needs as effectively.