What happens when you set up a VPC using a private IP range?
APublic resources are deployable
BInstances lose external IPs
CCanada is selected as location
DNo network traffic restriction exists
Explanation
Setting a private IP range means VM instances cannot communicate directly over the internet without a NAT, while the other options are misleading regarding IP assignments and locations.
Q292
Which service is best for building machine learning models?
AAI Platform
BCloud Functions
CCloud Spanner
DCompute Engine
Explanation
AI Platform is specifically designed for ML models, while others serve different purposes.
Q293
A company needs to process large amounts of streaming data. Which Google Cloud service should they use?
ABigQuery
BPub/Sub
CCloud Storage
DDataflow
Explanation
Dataflow is designed for stream processing; Pub/Sub is for messaging, not processing.
Q294
You are configuring IAM roles for a new project. What happens if a user has multiple conflicting roles?
AOnly the highest role's permissions apply.
BAll permissions are aggregated.
CThe user gains no permissions.
DPermissions are denied.
Explanation
Google Cloud combines permissions from all assigned roles for a user.
Q295
Which service is best for stream processing in GCP?
ADataflow
BBigQuery
CCloud Functions
DCloud Storage
Explanation
Dataflow is specifically designed for stream processing, while others serve different purposes.
Q296
A company needs to ensure their data in BigQuery is automatically encrypted. What should they enable?
ACustomer Managed Keys
BData Loss Prevention
CDefault Encryption
DExternal Tables
Explanation
BigQuery automatically encrypts data at rest by default; manual key management is optional.
Q297
You are configuring a DataStore. What happens if you exceed your write capacity?
AWrites are automatically queued
BThe system throws an error
CAll writes are dropped
DLatency is drastically increased
Explanation
Exceeding write capacity results in write errors, requiring proper management to avoid them.
Q298
Which Google Cloud service is used for event-driven asynchronous messaging?
ACloud Pub/Sub
BCloud Functions
CCloud Storage
DCloud SQL
Explanation
Cloud Pub/Sub is specifically designed for asynchronous messaging, whereas the others serve different purposes.
Q299
A company needs to run a machine learning model at scale on new data daily. What is the best approach?
AManual model training
BScheduled batch processing
CReal-time processing using Dataflow
DUsing a desktop application
Explanation
Dataflow allows real-time processing and scaling, which is ideal for daily model updates.
Q300
You are configuring a Virtual Private Cloud (VPC) for your application. What happens if two subnets in the same VPC have overlapping IP ranges?
AIt works without issues.
BIt causes routing conflicts.
COnly one subnet functions.
DBoth subnets are deleted.
Explanation
Overlapping IP ranges lead to routing conflicts, preventing proper network communication.