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
Start Mock Test Timed · Full-length · Scored

Questions 381–390 of 492

Q381

You are configuring a Cloud Function that triggers from a Pub/Sub topic. What happens if the Pub/Sub message exceeds the maximum size?

  • A The message is processed partially
  • B The function fails to execute
  • C Message is truncated automatically
  • D The message is queued for later
Explanation A message larger than the maximum size will cause the function to fail; partial processing and automatic truncation do not occur.
Q382

Which service is used for serverless event-driven architecture in Google Cloud?

  • A Cloud Functions
  • B Cloud Run
  • C App Engine
  • D Cloud Storage
Explanation Cloud Functions is designed for event-driven execution, while the others serve different purposes.
Q383

A company needs to connect its on-premises network to Google Cloud securely. Which service should it use?

  • A Cloud VPN
  • B Cloud CDN
  • C VPC Peering
  • D Cloud DNS
Explanation Cloud VPN establishes a secure connection, while the others are not meant for secure network connections.
Q384

You are configuring IAM roles for a Google Cloud project. What happens if a user has multiple roles assigned?

  • A Roles combine permissions
  • B Only the highest role is applied
  • C Only the lowest role is applied
  • D Roles conflict, none are applied
Explanation Multiple roles combine permissions, allowing broader access, whereas the others do not reflect IAM functionality.
Q385

Which service is best for serverless compute?

  • A Cloud Functions
  • B Compute Engine
  • C Kubernetes Engine
  • D Cloud Run
Explanation Cloud Functions is designed for serverless computing, unlike the others which require more management and infrastructure.
Q386

A company needs to store large datasets with high availability. What should they use?

  • A Cloud Storage
  • B BigQuery
  • C Cloud SQL
  • D Firestore
Explanation Cloud Storage provides scalable storage with high availability, while others serve different purposes.
Q387

You are configuring IAM roles for a team project. What should you avoid doing?

  • A Granting least privilege access
  • B Applying roles broadly
  • C Using predefined roles
  • D Regularly reviewing roles
Explanation Applying roles broadly increases security risks, while the other options promote good IAM practices.
Q388

Which service provides real-time analytics on streaming data?

  • A Cloud Pub/Sub
  • B BigQuery
  • C Dataflow
  • D Cloud Storage
Explanation Dataflow is designed for real-time analytics, unlike the others.
Q389

A company needs to securely share documents with external partners. Which Google service should they use?

  • A Google Drive
  • B Cloud Storage
  • C Google Workspace
  • D Cloud Identity
Explanation Google Workspace allows secure document sharing capabilities.
Q390

What happens when a Google Cloud VM instance exceeds its quota?

  • A Instance automatically shuts down
  • B Instance continues to function
  • C Quota is temporarily increased
  • D Instance is migrated
Explanation The VM will continue to function even if the quota is exceeded.