You are configuring IAM roles for a project. What happens when you assign a role with no permissions to a user?
AUser inherits project's permissions.
BUser can execute any command.
CUser has no access.
DUser gains view access only.
Explanation
A role without permissions means the user has no access, unlike the others which suggest various forms of access.
Q232
Which service is best for creating serverless applications?
ACloud Functions
BGoogle Kubernetes Engine
CCompute Engine
DCloud Run
Explanation
Cloud Functions is specifically designed for serverless applications, while others require more management.
Q233
A company needs to store a large volume of unstructured data with low access frequency. What Google Cloud service should they use?
ACloud SQL
BBigQuery
CCloud Storage Nearline
DFirestore
Explanation
Cloud Storage Nearline is designed for infrequently accessed data, unlike the other options.
Q234
What happens when you assign a role to a user in Google Cloud IAM?
AUser gains permissions immediately
BRole assignment takes 24 hours
CUser loses existing permissions
DRole assignments are ignored
Explanation
Role assignments grant permissions immediately without any delay in IAM.
Q235
Which Google Cloud service is best for serverless event-driven applications?
ACloud Functions
BCompute Engine
CCloud Storage
DCloud Run
Explanation
Cloud Functions is designed for serverless event-driven applications, while the others serve different purposes.
Q236
A company needs to analyze large XML data files. Which tool should they use?
ABigQuery
BPub/Sub
CCloud Datastore
DCloud Functions
Explanation
BigQuery efficiently handles and analyzes big data including XML files, while the others are not designed for this task.
Q237
You are configuring IAM roles for a containerized application. What happens if a user with a role doesn't have 'Container.ClusterViewer'?
ACan view cluster information
BCannot access cluster details
CHas full cluster permissions
DCan view logs but not pods
Explanation
Without 'Container.ClusterViewer', the user cannot view any cluster details, making option A incorrect, and the others unrelated or misleading.
Q238
Which service allows for fully managed NoSQL databases?
AGoogle Cloud Firestore
BGoogle Compute Engine
CGoogle Cloud Functions
DGoogle Cloud Storage
Explanation
Google Cloud Firestore directly provides a fully managed NoSQL database, unlike the other options which serve different purposes.
Q239
A company needs to ensure that its applications scale automatically based on traffic. Which Google Cloud service is the best choice?
AGoogle Kubernetes Engine
BGoogle App Engine
CGoogle Cloud Run
DGoogle Cloud DNS
Explanation
Google App Engine automatically scales applications based on the load, while the others require manual configuration for automatic scaling.
Q240
You are configuring IAM policies for a sensitive project. What happens when you grant 'roles/editor' to a user?
AUser can only view project resources
BUser can edit and manage resources
CUser cannot delete any resources
DUser has no additional permissions
Explanation
Granting 'roles/editor' gives the user permissions to edit and manage resources, while the other options misrepresent the role's capabilities.