What happens when you delete a Google Cloud Storage bucket?
AAll objects are retained
BObjects are deleted permanently
CThe bucket becomes inaccessible
DBucket metadata is preserved
Explanation
Deleting a bucket removes its contents permanently; other options incorrectly imply object or metadata retention.
Q112
Which service is primarily used for data warehousing in Google Cloud?
ABigQuery
BCloud Storage
CCloud Datastore
DCloud SQL
Explanation
BigQuery is designed for large-scale data analytics, while others serve different purposes.
Q113
A company needs to allow temporary access for a contractor without sharing permanent credentials. What should they use?
AService account
BIAM roles and policies
COAuth 2.0 tokens
DTemporary IAM credentials
Explanation
Temporary IAM credentials can be generated for short-term use, facilitating regulated access.
Q114
What happens when you set an organization policy to restrict network egress in your project?
AAll services stop functioning
BOnly specific services are blocked
CAll external internet access is blocked
DNothing; it's a non-disruptive change
Explanation
Restricting network egress blocks all outgoing traffic to unapproved destinations.
Q115
Which Google Cloud service provides serverless execution for code?
ACloud Functions
BCompute Engine
CApp Engine
DCloud Run
Explanation
Cloud Functions is designed for serverless code execution, while others require more management or are not serverless.
Q116
You are configuring Google Cloud IAM roles. Which role allows both read access to Cloud Storage buckets and write access to the objects within them?
AStorage Object Viewer
BStorage Admin
CStorage Object Creator
DStorage Object Viewer with Editor
Explanation
Storage Object Creator allows writes to objects, while the other roles limit either access or permissions.
Q117
What happens when an instance in a Google Cloud VM is stopped?
ABilling continues for the instance.
BAll data is deleted permanently.
CData on ephemeral disks is lost.
DPersistent disks are also deleted.
Explanation
Ephemeral disks lose data when the VM is stopped, while persistent disks retain data.
Q118
Which Google Cloud service is best for batch processing data?
ADataflow
BBigQuery
CDataproc
DPub/Sub
Explanation
Dataproc is designed for batch processing, while Dataflow is for stream processing, BigQuery is for SQL queries, and Pub/Sub is for messaging.
Q119
A company needs to securely store and share sensitive data with specific users. Which Google Cloud tool should they use?
ACloud Storage
BCloud Pub/Sub
CData Catalog
DCloud IAM
Explanation
Cloud IAM is essential for managing user access securely, while Cloud Storage is for data storage, Pub/Sub for messaging, and Data Catalog for data management.
Q120
What happens when you try to delete a Google Cloud project that has active resources?
ADeletion fails until resources are deleted
BAll resources are deleted automatically
CYou must rename the project first
DProject is moved to trash
Explanation
The deletion fails unless all resources are removed first, while the other options do not accurately describe the deletion process.