Google Cloud
Google Cloud Certified – Associate Data Practitioner
PR000306
Become a certified Associate Data Practitioner with exam code PR000306 to validate your data skills in Google Cloud.
492 questions
0 views
Free
Questions 411–420 of 492
You are configuring a Cloud Function triggered by Pub/Sub. What happens if the function exceeds timeout?
-
A
Function retries automatically.
-
B
Function stops and discards event.
-
C
Function reverts to previous state.
-
D
Function logs an error only.
Explanation
If a Cloud Function exceeds its timeout, the execution stops and discards the event without retrying.
Which service is used for serverless analytics in Google Cloud?
-
A
BigQuery
-
B
Dataflow
-
C
Cloud Run
-
D
App Engine
Explanation
BigQuery is designed specifically for serverless analytics; others are for data processing or app hosting.
A company needs to manage access to its Cloud Storage buckets securely. What should they use?
-
A
Firewall Rules
-
B
IAM Roles
-
C
Cloud Functions
-
D
BigQuery Permissions
Explanation
IAM Roles manage permissions securely; the other options don't specifically address access control for Cloud Storage.
You are configuring a VPN connection to a Google Cloud VPC. What happens if the on-premises device loses its internet connection?
-
A
Traffic flows through Cloud Router.
-
B
VPN remains operational.
-
C
VPN connection drops.
-
D
Traffic reroutes to Cloud Interconnect.
Explanation
The VPN connection drops if the on-premises device loses internet; the other options describe incorrect behaviors.
Which service is best for real-time analytics?
-
A
BigQuery
-
B
Cloud Pub/Sub
-
C
Dataflow
-
D
Google Sheets
Explanation
Dataflow processes data in real-time, while BigQuery is for batch analytics and Google Sheets lacks scalability.
A company needs to ensure their application remains available if one region goes down. What should they implement?
-
A
Compute Engine instances in one zone
-
B
Regional load balancing
-
C
Cloud Functions in multiple regions
-
D
GKE with a single cluster
Explanation
Regional load balancing distributes traffic across multiple zones, but other options may not maintain availability.
You are configuring IAM roles for a team project. Which principle minimizes over-privileged access?
-
A
Role-based access control
-
B
Least privilege principle
-
C
Full admin rights
-
D
Uniform access policy
Explanation
The least privilege principle restricts permissions to only what's needed, while other options increase access risk.
Which service is best for running serverless applications?
-
A
Google Cloud Functions
-
B
Google Cloud Storage
-
C
Google Compute Engine
-
D
Google App Engine
Explanation
Google Cloud Functions is designed for serverless applications, while the others provision specific infrastructure or services.
A company needs to analyze large datasets using SQL-like queries. Which service should they choose?
-
A
BigQuery
-
B
Cloud Pub/Sub
-
C
Cloud Firestore
-
D
Dataflow
Explanation
BigQuery is specifically designed for analyzing large datasets with SQL-like syntax; the others are used for different purposes.
You are configuring a VPC peering connection. What happens when routing is not properly set?
-
A
Traffic flows normally between networks
-
B
Traffic is dropped silently
-
C
Both networks are isolated
-
D
VPC peering cannot be established
Explanation
If routing is misconfigured, traffic is dropped silently, while isolation or connectivity depends on routing rules.