Which service is best for serverless application deployment?
ACloud Functions
BCompute Engine
CCloud Run
DApp Engine
Explanation
Cloud Functions is designed specifically for serverless deployments, while the others require more infrastructure management.
Q212
A company needs to store sensitive data and wants to control access strictly. Which database solution should they choose?
ACloud Firestore
BCloud SQL
CBigQuery
DCloud Spanner
Explanation
Cloud SQL offers strong access control features suitable for sensitive data, while the other options may not provide the required level of control.
Q213
What happens when you exceed the quota limits of a Google Cloud API?
ARequests are automatically retried
BRequests are denied
CYou are billed additional fees
DYou receive a warning email
Explanation
Exceeding API quota limits results in denied requests, while the other options are not accurate responses to such conditions.
Q214
Which service can dynamically scale compute resources based on load?
AGoogle Kubernetes Engine
BCloud Storage
CCloud Pub/Sub
DCloud Functions
Explanation
Google Kubernetes Engine automatically scales based on demand, while the others do not provide this feature directly.
Q215
A company needs to deploy a web application with a constant uptime guarantee. Which deployment model should they choose?
AOn-Premises
BCommunity Cloud
CPrivate Cloud
DPublic Cloud
Explanation
Public Cloud offers high availability and guaranteed uptime with redundancy, unlike the others.
Q216
You are configuring IAM permissions for a new role. What happens if you assign a user multiple roles with conflicting permissions?
AMore restrictive permissions apply
BMore permissive permissions apply
CThe user receives an error
DOnly one role is effective
Explanation
In IAM, the effective permissions are cumulative, so the most permissive policies apply.
Q217
Which service automates resource scaling in GCP?
AGoogle Kubernetes Engine
BDataflow
CCloud Functions
DApp Engine
Explanation
App Engine automatically handles scaling based on traffic, while the others require additional configurations for auto-scaling.
Q218
A company needs to manage access to GCP resources. Which service should they use?
ACloud Storage
BCloud Monitoring
CCloud IAM
DCloud Pub/Sub
Explanation
Cloud IAM is specifically designed for managing access and permissions for resources in GCP, unlike the others which serve different purposes.
Q219
What happens when you delete a Cloud Pub/Sub subscription?
AMessages are permanently lost
BMessages get queued for later
CAll messages are retained
DSubscription reactivates after 30 days
Explanation
When a subscription is deleted, any unacknowledged messages in that subscription are permanently lost; untouched messages in the topic remain accessible to other subscriptions.
Q220
Which service best monitors application performance in GCP?
ACloud Monitoring
BCloud Logging
CCloud Functions
DCloud Run
Explanation
Cloud Monitoring provides performance insights; others focus on logging or serverless.