Which service automatically adjusts compute resources?
AGoogle Cloud AutoScaler
BCloud Pub/Sub
CCloud Functions
DCloud Run
Explanation
AutoScaler adjusts resources based on demand; others do not.
Q332
A company needs to store images but has strict latency requirements. What service should they use?
ACloud Storage
BCloud Firestore
CCloud SQL
DMemoryStore
Explanation
MemoryStore provides low latency; others are slower for image storage.
Q333
You are configuring a network firewall rule. What happens if you set the action to "allow" with no specified source IP?
ABlocks all incoming traffic
BAllows all incoming traffic
CAllows traffic but with errors
DBlocks traffic but allows some
Explanation
Allowing with no sources permits all traffic; the others restrict it improperly.
Q334
Which service is best for data warehousing in Google Cloud?
ABigQuery
BCloud SQL
CCloud Storage
DDataproc
Explanation
BigQuery is designed specifically for data warehousing, whereas the others serve different purposes.
Q335
A company needs to ensure that only specific users can access sensitive data in Cloud Storage. What feature should they implement?
AIAM Roles
BOAuth 2.0
CCloud CDN
DService Accounts
Explanation
IAM Roles allow you to control user access to Cloud Storage, while the others do not directly manage access controls.
Q336
What happens when you set a Cloud Function timeout of 5 seconds?
AFunction stops executing after 5 seconds
BFunction is executed in 5 seconds
CFunction automatically retries upon timeout
DFunction uses more resources if long
Explanation
The function will terminate soon after 5 seconds if it hasn't completed, while the other options are incorrect regarding execution behavior.
Q337
Which service is best for serverless application deployment?
AGoogle Cloud Functions
BGoogle Compute Engine
CGoogle Kubernetes Engine
DGoogle Cloud Storage
Explanation
Google Cloud Functions allows for serverless execution; the others involve managing servers.
Q338
A company needs to handle potential spikes in traffic without over-provisioning resources. Which Google Cloud feature is most appropriate?
AHorizontal Scaling
BAutoscaling
CResource Quotas
DLoad Balancer
Explanation
Autoscaling dynamically adjusts resources based on demand, while others do not provide this flexibility.
Q339
What happens when a Compute Engine instance is stopped and then restarted?
AData is completely lost
BIP address may change
CInstance is billed only for storage
DZone of instance is changed
Explanation
A stopped instance can lose its ephemeral IP; options A, C, and D are incorrect outcomes.
Q340
Which service is best for data analytics at scale?
ABigQuery
BCloud Storage
CCompute Engine
DCloud Firestore
Explanation
BigQuery is optimized for large-scale analytics, while the others serve different purposes.