A company needs a scalable solution for processing real-time data streams. Which Google Cloud service should they use?
ACloud Pub/Sub
BBigQuery
CCloud Storage
DCompute Engine
Explanation
Cloud Pub/Sub is designed for real-time messaging and stream processing, serving thriving data flow, unlike the other services listed.
Q12
What happens when you enable VPC Flow Logs in a GCP project?
ATracks data egress only
BProvides log for inbound/outbound traffic
CEnables firewall rule modification
DIncreases network latency
Explanation
VPC Flow Logs capture logs of all inbound and outbound traffic, unlike the other options which are incorrect.
Q13
Which service allows you to deploy generative AI models on GCP?
AVertex AI
BCloud Functions
CBigQuery
DApp Engine
Explanation
Vertex AI is specifically designed for machine learning and deploying models, while others serve different functions.
Q14
A company needs real-time anomaly detection for its data streams. Which GCP service is best suited for this?
ACloud Pub/Sub
BCloud Dataflow
CBigQuery ML
DData Loss Prevention
Explanation
Cloud Dataflow processes streaming data in real-time, while others do not focus on real-time analysis of data streams.
Q15
What happens when you enable versioning on a Google Cloud Storage bucket?
APrevious versions are deleted automatically
BAll objects are encrypted
CYou can retrieve deleted objects
DBucket size is reduced
Explanation
Enabling versioning allows retrieval of deleted objects, while the others are incorrect attributes of versioning functionality.
Q16
Which service is best for building a custom machine learning model in Google Cloud?
AAI Platform
BBigQuery
CCloud Run
DCloud Functions
Explanation
AI Platform specifically supports custom ML model training, unlike the other options.
Q17
A company needs to analyze large datasets quickly. Which Google Cloud service should they use?
ACloud Storage
BBigQuery
CCloud SQL
DDataproc
Explanation
BigQuery is optimized for large-scale data analysis, which is not the primary use for the other services.
Q18
What happens when you accidentally upload a finer-grained IAM policy overwriting a coarser one?
AThe coarser policy remains in effect
BThe finer-grained policy is ignored
CThe finer-grained policy takes precedence
DIAM functions will stop working
Explanation
The finer-grained policy supersedes the coarser one, applying its rules.
Q19
Which service helps in building chatbots with generative AI?
ADialogflow
BCompute Engine
CCloud Functions
DBigQuery
Explanation
Dialogflow specializes in creating conversational experiences, unlike the other services.
Q20
A company needs to process large data sets for training ML models and requires a fully managed solution. Which Google Cloud service should they choose?
ACloud Dataflow
BApp Engine
CCloud Functions
DCloud Run
Explanation
Cloud Dataflow is designed for large-scale data processing tasks, while the others don't focus on this use case.