What happens when you configure an IAM Policy without a resource?
APolicy is applied globally
BPolicy triggers an error
CPolicy only applies to users
DPolicy has no effect
Explanation
A policy without a specified resource defaults to global application, while incorrect options misrepresent IAM behavior.
Q202
Which Google Cloud service allows for version-controlled storage of files?
ACloud Storage
BBigQuery
CCloud Pub/Sub
DCloud Functions
Explanation
Cloud Storage enables versioning of files; the other services do not provide this functionality.
Q203
A company needs to analyze large datasets using SQL-like queries. Which Google Cloud service should they use?
AFirestore
BBigQuery
CCloud SQL
DCloud Spanner
Explanation
BigQuery is designed for large-scale data analysis using SQL; others are not primarily for this purpose.
Q204
What happens when you apply a 2-factor authentication on a Google Cloud account?
AOnly passwords are used.
BUser needs second verification step.
CAccount access is completely restricted.
DLogin from new devices is ignored.
Explanation
2-factor authentication adds an extra verification step; the other options misrepresent its functionality.
Q205
Which service allows you to run machine learning models in the cloud?
AAI Platform
BDataflow
CCloud Functions
DGoogle Compute Engine
Explanation
AI Platform is specifically designed for ML models, while others serve different purposes.
Q206
A company needs to integrate Natural Language Processing in their customer service chatbot. Which API should they use?
ACloud Translation
BDialogflow
CStorage API
DCloud Vision
Explanation
Dialogflow is tailored for chatbots with NLP capabilities, unlike the other APIs.
Q207
You are configuring an IAM policy for a project. What happens if a user is assigned both a role with limited permissions and a role with broader permissions?
AUser gets limited permissions only
BUser receives broader permissions
CUser is denied access altogether
DConflicting roles require approval
Explanation
IAM roles are additive, so broader permissions apply.
Q208
Which service enables machine learning model training?
AAI Platform
BCloud Functions
CBigQuery
DCloud Storage
Explanation
AI Platform is specifically designed for model training; the others serve different purposes.
Q209
A company needs to analyze large datasets quickly. Which service should they use?
ACloud SQL
BBigQuery
CSpanner
DApp Engine
Explanation
BigQuery is optimized for analyzing large datasets; the others are not primarily focused on this activity.
Q210
What happens when you set an IAM role with no permissions?
AUser gains full access
BUser is denied access
CUser retains existing permissions
DRole has no effect
Explanation
Setting a role with no permissions effectively means it has no effect, unlike denying access.