You are configuring a Cloud Function to respond to Pub/Sub messages. What happens when you exceed the execution timeout?
AFunction completes processing
BFunction retries automatically
CFunction returns a 500 error
DFunction execution stops instantly
Explanation
Execution stops immediately when the timeout is exceeded, rather than completing or retrying.
Q52
Which Google Cloud service offers serverless container management?
ACloud Run
BKubernetes Engine
CCompute Engine
DApp Engine
Explanation
Cloud Run allows you to run containers without managing servers, while the others require more infrastructure management.
Q53
A company needs to implement a CI/CD pipeline. Which GCP service is best suited for this?
ACloud Functions
BCloud Build
CCloud Storage
DBigQuery
Explanation
Cloud Build is specifically designed for CI/CD workflows, while the others do not cater directly to continuous integration and deployment.
Q54
What happens when you enable the 'True' value for 'Versioning' in a Cloud Storage bucket?
AOnly the latest version is stored.
BAll previous object versions are retained.
CVersioned objects become immutable.
DAll versions are deleted automatically.
Explanation
Enabling versioning retains all previous versions, while the other options misrepresent versioning functionality in GCS.
Q55
Which Google Cloud service provides fully managed NoSQL databases?
ACloud Firestore
BCloud SQL
CCloud Pub/Sub
DBigQuery
Explanation
Cloud Firestore is a fully managed NoSQL database service, while the other options serve different data storage or messaging purposes.
Q56
A company needs to ensure that data is stored with low latency and high availability across regions. Which storage solution should they use?
ACloud Storage Standard
BRegional Persistent Disk
CMulti-Regional Cloud Storage
DCloud Filestore
Explanation
Multi-Regional Cloud Storage provides low latency and high availability by replicating data across multiple locations, unlike the other options which have local or single-region focuses.
Q57
What happens when you enable Pub/Sub message retention?
AMessages are deleted immediately
BMessages are retried only once
CMessages can be stored up to 7 days
DMessages cannot be acknowledged
Explanation
Enabling message retention allows storing messages for up to 7 days, while the others are incorrect as they misrepresent how message behaviors interact with retention settings.
Q58
Which service is best for serverless application deployment?
ACloud Functions
BCompute Engine
CApp Engine
DCloud Run
Explanation
Cloud Functions is specifically designed for serverless compute. Compute Engine requires VMs and App Engine is for flexible, not purely serverless environments.
Q59
A company needs to orchestrate multiple cloud services; which Google Cloud product should they use?
ACloud Load Balancing
BCloud Functions
CCloud Composer
DCloud Shell
Explanation
Cloud Composer is built for orchestrating services and workflows. The others are for load balancing, function execution, and shell access.
Q60
What happens when you set a budget alert in Google Cloud?
AService stops when budget met
BYou receive notifications only
CCosts tracked in real-time
DBilling account is suspended
Explanation
Setting a budget alert sends notifications but does not stop services. The other options imply automatic actions that aren't taken.