A company needs to perform real-time analysis on streaming data from IoT devices. What is the best approach?
AUse BigQuery for batch processing
BImplement Pub/Sub with Dataflow
CStore data in Cloud Storage
DSet up Datastore for transactions
Explanation
Using Pub/Sub with Dataflow allows real-time processing of streaming data, unlike the other options which are not intended for real-time analysis.
Q342
You are configuring Identity and Access Management (IAM) roles. What happens when a user has multiple roles assigned?
AOnly the highest role is effective
BAll roles are combined for permissions
CRoles are ignored if conflicting
DOnly the least privileged role applies
Explanation
A user with multiple roles has permissions combined, enabling them broader access rather than just the highest or least privileged.
Q343
Which service is best for real-time data processing?
ACloud Pub/Sub
BCloud Storage
CBigQuery
DCloud Functions
Explanation
Cloud Pub/Sub handles real-time data streams, while the others serve different purposes.
Q344
A company needs to analyze large datasets quickly and interactively. Which Google Cloud service is best suited for this task?
ACloud SQL
BBigQuery
CCloud Spanner
DFirebase Realtime Database
Explanation
BigQuery is designed specifically for large-scale analytics, unlike the other database solutions.
Q345
You are configuring a VM instance with a static external IP address. What happens if you delete the VM?
AIP is released
BIP remains assigned
CIP assigned to another VM
DIP changes on reboot
Explanation
When a VM is deleted, the static IP is released unless explicitly reserved.
Q346
Which service allows for serverless event-driven programming?
ACloud Functions
BCompute Engine
CCloud Run
DApp Engine
Explanation
Cloud Functions is designed for serverless, event-driven applications, unlike others that require more management.
Q347
A company needs to analyze streaming data in real-time. Which Google Cloud service is best suited for this requirement?
ABigQuery
BCloud Pub/Sub
CDataflow
DCloud Storage
Explanation
Dataflow provides real-time data processing capabilities, unlike the other options.
Q348
You are configuring IAM roles for a project. Which role grants the least permissions necessary?
AOwner
BViewer
CEditor
DCustom Role
Explanation
Custom roles allow precise permission control, while others have broader access than necessary.
Q349
Which Google Cloud service is designed for real-time event ingestion and processing?
ACloud Pub/Sub
BCloud Functions
CBigQuery
DCloud Storage
Explanation
Cloud Pub/Sub provides message-driven real-time communication, unlike the others which serve different purposes.
Q350
A company needs to store large amounts of unstructured data with quick access. Which Google Cloud storage solution should they use?
ACloud SQL
BCloud Bigtable
CCloud Firestore
DCloud Storage
Explanation
Cloud Storage is designed for unstructured data, while the others are tailored for structured formats.