Which service provides a fully managed document database on Google Cloud?
AFirestore
BCloud Spanner
CCloud SQL
DBigQuery
Explanation
Firestore is designed for NoSQL document storage, while others serve different purposes.
Q182
A company needs to securely share its API keys with developers without exposing them in code. What should they use?
ACloud Storage
BSecret Manager
CGoogle Groups
DCloud Functions
Explanation
Secret Manager is specifically designed for securely storing API keys and sensitive information, unlike others.
Q183
You are configuring Identity and Access Management (IAM) for a project. What happens when you grant a user 'roles/viewer' on a project but remove 'roles/editor'?
AUser loses all permissions
BUser retains only view access
CUser gains edit access
DNo changes occur
Explanation
Removing 'roles/editor' restricts the user to only viewing resources, maintaining their 'viewer' status.
Q184
Which service provides serverless computing on Google Cloud?
A company needs to securely manage user authentication across multiple applications. Which Google service should they use?
ACloud Identity
BIAM Roles
CCloud Storage
DCloud Pub/Sub
Explanation
Cloud Identity offers user authentication management, while others do not focus on user identity.
Q186
What happens when you set an IAM policy that grants an account log access to a bucket?
AAccount cannot access bucket
BAccount receives read access only
CAccount can view bucket logs
DAccount can delete bucket contents
Explanation
Granting log access allows the account to view logs, not bucket contents or processes.
Q187
You are configuring a Google Cloud project for a new application. Which IAM role should you assign for minimal privileges while allowing the application to access Google Cloud Storage?
AStorage Admin
BStorage Object Viewer
CEditor
DViewer
Explanation
'Storage Object Viewer' allows read access only, maintaining minimal privileges, unlike the other options.
Q188
A company needs to process a large volume of streaming data in real-time. Which Google Cloud service should they use to handle this requirement?
ACloud Functions
BCloud Pub/Sub
CCloud Storage
DBigQuery
Explanation
'Cloud Pub/Sub' is ideal for real-time data streaming, while others do not provide real-time messaging.
Q189
What happens when you delete a Google Cloud Storage bucket that has versioning enabled?
AAll versions are permanently deleted.
BOnly the latest version is deleted.
CVersions are moved to a different bucket.
DVersions remain, bucket is hidden.
Explanation
When a bucket is deleted, all versions are permanently deleted as well, making option A correct.
Q190
Which service is best for running containers?
AGoogle Kubernetes Engine
BCloud Functions
CCloud Run
DApp Engine
Explanation
Google Kubernetes Engine is specifically designed for orchestrating containerized applications, while the others serve different purposes.