You are configuring IAM roles for your project. What happens if a user has both an IAM role and a denied permission?
AUser still gets access
BUser's access is completely denied
CUser receives an error
DRole overrides denied permissions
Explanation
A denied permission takes precedence over granted roles, blocking access.
Q412
Which service is used for serverless computing on Google Cloud?
ACloud Functions
BCloud Run
CApp Engine
DCompute Engine
Explanation
Cloud Functions is specifically designed for serverless architecture, while others provide different levels of control or management.
Q413
A company needs to migrate its on-premises database to Google Cloud. Which database service is recommended for high compatibility with relational databases?
ADatastore
BCloud SQL
CBigtable
DFireStore
Explanation
Cloud SQL is designed for relational databases, making it the best choice for compatibility.
Q414
You are configuring VPC Service Controls for your Google Cloud project. What happens when you enable perimeter security?
AData transfer is only within the perimeter.
BAccess is only allowed to project owners.
CExternal services gain full access.
DAPIs are completely disabled outside.
Explanation
Enabling perimeter security restricts data transfer, allowing it only within defined boundaries.
Q415
Which service is best for managing multiple Kubernetes clusters?
AGoogle Kubernetes Engine (GKE)
BCloud Run
CCloud Functions
DApp Engine
Explanation
GKE is specifically designed for managing Kubernetes clusters, while the others are not oriented for this purpose.
Q416
A company needs to securely share data among multiple teams in Google Cloud. What should they use?
ACloud Pub/Sub
BCloud Storage with IAM
CBigQuery
DCloud SQL
Explanation
Cloud Storage with IAM allows fine-grained access control, which is ideal for secure data sharing.
Q417
What happens when you enable VPC Flow Logs for a subnet?
AIncreased network latency
BNetwork traffic is logged
CAll traffic is blocked
DServer-level auditing
Explanation
Enabling VPC Flow Logs captures and logs network traffic information, while the other options are incorrect regarding the functionality.
Q418
Which Google Cloud service is best for storing unstructured data?
AGoogle Cloud Storage
BCloud SQL
CBigQuery
DCloud Spanner
Explanation
Google Cloud Storage is designed for unstructured data, while the others focus on structured relational data or analytics.
Q419
A company needs to regularly analyze log data in near real-time. Which option should they choose?
ACloud Pub/Sub
BCloud Functions
CDataflow
DCloud Datastore
Explanation
Dataflow enables near real-time data processing and analytics, while the others serve different purposes.
Q420
What happens when you provision an instance with a preemptible VM?
AIt cannot be stopped.
BIt may be deleted anytime.
CIt has a guaranteed uptime.
DIt costs more than regular VMs.
Explanation
Preemptible VMs can be terminated by Google Cloud at any time, unlike standard instances.