You are configuring IAM roles for a developer. What happens if you assign only 'Viewer' role?
ACan modify resources
BCan read resources only
CNo access to resources
DCan create new resources
Explanation
'Viewer' role provides read access only, restricting modifications or creation.
Q292
Which service allows real-time analytics on streaming data?
ACloud Dataflow
BCloud Pub/Sub
CBigQuery
DCloud Storage
Explanation
Cloud Dataflow handles real-time stream processing, while others serve different purposes.
Q293
A company needs to restrict access to a Google Cloud resource based on user attributes. What should they implement?
AVPC Service Controls
BIAM Conditions
CFirewall Rules
DNetwork Tags
Explanation
IAM Conditions allow policy-based access controls based on attributes, unlike the other options.
Q294
What happens when you delete an object in Cloud Storage?
AIt is permanently removed.
BIt moves to a trash can.
CIt remains for 30 days.
DIt creates a version history.
Explanation
Deleted objects in Cloud Storage are permanently removed unless versioning is enabled.
Q295
Which service provides serverless computing on Google Cloud?
ACloud Functions
BCompute Engine
CKubernetes Engine
DApp Engine
Explanation
Cloud Functions allows you to run code without provisioning any servers; the others include server management.
Q296
A company needs to securely share data with partners using Google Cloud. What should they use?
ACloud Pub/Sub
BCloud Functions
CBigQuery
DCloud IAM
Explanation
Cloud IAM allows secure identity management and permissions, unlike the other options.
Q297
What happens when you delete a Cloud Storage bucket with versioning enabled?
AAll versions are deleted immediately.
BOnly the default version is kept.
CBucket can be restored with all versions.
DBucket retains all object versions.
Explanation
The bucket can be restored with its object versions due to versioning, others misinterpret version retention.
Q298
Which Google Cloud service provides a fully managed NoSQL database?
ACloud Firestore
BCloud SQL
CBigQuery
DCloud Spanner
Explanation
Cloud Firestore is a NoSQL database; others are SQL based or analytics tools.
Q299
A company needs to transfer large amounts of data to Google Cloud while minimizing costs. Which storage option is the best for infrequently accessed data?
ACloud Storage Standard
BCloud Storage Nearline
CBigtable
DCloud Storage Archive
Explanation
Cloud Storage Archive is optimal for low-cost storage of infrequently accessed data; others are costlier for this use case.
Q300
You are configuring IAM policies in Google Cloud. What effect does the 'deny' rule have on user access?
AAlways allows access regardless
BOverrides any allow rules
CAllows access only based on roles
DNo effect on access rights
Explanation
Deny rules take precedence and override allow rules, which impacts user access significantly.