What happens when you set your Cloud Pub/Sub subscription to 'acknowledge' only after a delay?
AMessages are reprocessed immediately.
BMessages are deleted after the delay.
CMessages will not be sent again.
DMessages may be redelivered after delay.
Explanation
Delayed acknowledgment can lead to message redelivery based on ack deadline settings.
Q142
Which service should you use for hosting machine learning models at scale?
ACloud Run
BCloud Functions
CAI Platform
DApp Engine
Explanation
AI Platform is specifically designed for ML model deployment, whereas others are general-purpose compute services.
Q143
A company needs to analyze large datasets stored in BigQuery regularly. What is the best way to automate this?
ACloud Functions
BCloud Scheduler and Dataflow
CCompute Engine VMs
DBigQuery Storage API
Explanation
Cloud Scheduler can trigger Dataflow jobs to automate analysis on regular schedules, which fits requirements.
Q144
What happens when you set a high learning rate in a neural network training process?
ASlower convergence
BFaster convergence
CEasier overfitting
DPoor accuracy
Explanation
A high learning rate can cause the model to bounce around the optimal minimum, leading to poor performance.
Q145
Which Google Cloud service is best for analyzing large datasets using SQL?
ABigQuery
BCloud Datastore
CCloud Functions
DCloud Spanner
Explanation
BigQuery is designed specifically for large SQL analytics, while the others serve different purposes.
Q146
A company needs to deploy machine learning models that automatically scale based on incoming request volume. Which Google Cloud solution should they use?
AAI Platform Prediction
BCompute Engine
CApp Engine
DCloud Functions
Explanation
AI Platform Prediction is tailored for scalable ML model deployment, unlike the other options.
Q147
You are configuring a Dataflow pipeline. What happens when you set the 'maxNumRecords' option to a low value?
ADataflow ignores all records.
BThe pipeline processes all records.
COnly a limited number of records processed.
DPipeline terminates with an error.
Explanation
Setting 'maxNumRecords' throttles the processing to a specified limit, preserving resources.
Q148
A data scientist needs to deploy a machine learning model that can process incoming data in real-time. Which Google Cloud service should they use?
ACloud Functions
BCloud Dataflow
CCloud Run
DVertex AI
Explanation
Cloud Dataflow is designed for real-time stream processing, while the other options serve different use cases.
Q149
You are configuring a training job in Vertex AI and need to avoid overfitting. What is a recommended approach?
AIncrease training dataset size
BReduce model complexity
CUse dropout layers
DAll of the above
Explanation
All listed approaches are effective in preventing overfitting during machine learning training.
Q150
What happens when a GCP service account key is compromised?
AAccess is immediately revoked
BAccount receives a warning
CPotential unauthorized access occurs
DNothing happens, it's secure
Explanation
Unauthorized access can occur if a service account key is compromised, making it critical to handle them securely.