What happens when you set a lifetime of 10 minutes on a signed URL?
AURL expires after 10 minutes
BURL is valid until next request
CURL remains valid indefinitely
DURL is only valid in 10 seconds
Explanation
A signed URL with a 10-minute lifetime expires exactly after that duration.
Q112
Which service allows you to deploy containerized applications on Google Cloud?
AGoogle Kubernetes Engine
BCloud Functions
CApp Engine
DCloud Dataflow
Explanation
Google Kubernetes Engine is designed for container orchestration, while other options serve different purposes.
Q113
A company needs to perform batch data processing. Which service should they use?
ACloud Functions
BCloud Run
CDataflow
DBigQuery
Explanation
Dataflow is specifically designed for batch and streaming data processing, unlike the other services.
Q114
What happens when an IAM role is assigned to a Google Cloud resource?
APermissions are granted immediately
BRole permissions are inherited
CPermissions must be manually activated
DRoles only affect project billing
Explanation
IAM roles grant associated permissions, which can be inherited by resources.
Q115
Which service is best for deploying serverless applications?
ACloud Functions
BCloud Run
CApp Engine
DCompute Engine
Explanation
Cloud Run is designed for deploying serverless applications from containers, while others serve different use cases.
Q116
A company needs to analyze streaming data in real time. Which Google Cloud service should they use?
ACloud Storage
BBigQuery
CDataflow
DPub/Sub
Explanation
Dataflow is optimized for processing streaming data, unlike the others that focus on storage or batch processing.
Q117
What happens when you set a virtual machine's automatic restart policy to 'on-failure'?
AAlways restarts no matter what
BRestarts only on system failure
CNever restarts
DRestarts at scheduled intervals
Explanation
'On-failure' restart policy ensures the VM restarts only after it fails, not during maintenance or reboot.
Q118
A developer needs to store secrets securely. Which service should they use?
AGoogle Cloud Secret Manager
BGoogle Cloud Storage
CGoogle Cloud Firestore
DGoogle Cloud Spanner
Explanation
Google Cloud Secret Manager is designed specifically for managing sensitive information, while the others do not offer secure storage.
Q119
You are configuring an App Engine service to handle a sudden spike in traffic. What should you enable to ensure scalability?
AManual Scaling
BAutoscaling
CBasic Scaling
DHigh Availability
Explanation
Autoscaling automatically adjusts resources based on traffic needs, whereas the others require manual intervention or do not scale effectively.
Q120
What happens when a VM instance is restarted in Google Cloud Compute Engine?
APermanent data loss
BAll data is retained
CExternal IP is changed
DHigh performance mode activated
Explanation
Restarting a VM typically changes the external IP if it's not static, while other options provide inaccurate outcomes.