A company needs to run a batch processing job on a large dataset every night. Which service is most suitable?
ACloud Functions
BCloud Run
CCloud Dataflow
DCompute Engine
Explanation
Cloud Dataflow is designed for batch processing; others are less suited for large-scale processing.
Q342
What happens when a Cloud IAM policy is attached to a resource that has a more restrictive policy already in place?
AIt enforces a deny rule.
BIt merges permissions of both.
CIt only considers the newest policy.
DIt ignores the restrictive policy.
Explanation
In IAM, policies are combined, retaining all permissions; deny rules take precedence.
Q343
Which service should a developer use for serverless execution of code?
ACloud Functions
BCompute Engine
CApp Engine
DCloud Run
Explanation
Cloud Functions executes code in response to events; the other options involve more infrastructure management.
Q344
A company needs to archive data for long-term storage. Which Google Cloud service is most suitable?
ACloud Storage Nearline
BCloud Storage Standard
CCloud Storage Coldline
DBigQuery
Explanation
Cloud Storage Coldline is designed for long-term data archiving; others are not optimized for cost-effective archival.
Q345
What happens when you delete a Google Cloud Pub/Sub subscription without acknowledging that messages have been received?
AMessages are permanently lost
BMessages are retained for 7 days
CMessages are queued indefinitely
DMessages are acknowledged as deleted
Explanation
Messages are retained for 7 days until acknowledgment; others misrepresent message retention policies.
Q346
Which service automates the deployment of applications?
AGoogle Cloud Build
BGoogle Cloud Shell
CGoogle Cloud DNS
DGoogle Dataflow
Explanation
Google Cloud Build automates application deployment; others serve different purposes.
Q347
A company needs to securely control access to sensitive data in Cloud Storage. What should they use?
AVPC Service Controls
BCloud Storage Lifecycle rules
CCloud Run
DStackdriver Monitoring
Explanation
VPC Service Controls manage data access securely; others do not control access directly.
Q348
You are configuring a Virtual Private Cloud (VPC) network. What happens when you disable Private Google Access?
AResource won't reach Google services
BIncreased network latency
CCost increase for outbound traffic
DAll Google services are blocked
Explanation
Disabling Private Google Access prevents resources from accessing Google services privately; others are incorrect outcomes of this action.
Q349
Which service is used for managed Kubernetes deployment?
AGoogle Kubernetes Engine
BCloud Run
CApp Engine
DCloud Functions
Explanation
Google Kubernetes Engine is specifically designed for managing Kubernetes clusters, while the others serve different deployment needs.
Q350
A company needs real-time analytics on their streaming data. Which service should they choose?
ACloud Spanner
BCloud Pub/Sub
CBigQuery
DDataflow
Explanation
Dataflow is built for processing stream and batch data with real-time analytics capabilities, unlike the others that have different data-related functionalities.