You are configuring permissions for a Google Cloud resource. What happens when you grant both IAM roles to a user that contain conflicting permissions?
AOnly the role with higher permissions applies.
BConflicting permissions are removed altogether.
CThe user has the union of both permissions.
DOnly the first assigned role applies.
Explanation
Google Cloud IAM allows users to combine permissions from multiple roles, providing a union of access.
Q292
Which service allows you to deploy containerized applications on Google Cloud?
AGoogle Kubernetes Engine
BCloud SQL
CApp Engine
DCloud Functions
Explanation
Google Kubernetes Engine is designed for managing containerized applications, while others serve different purposes.
Q293
A company needs to store logs of all API requests for compliance. Which tool should they use?
ACloud Pub/Sub
BCloud Logging
CBigQuery
DDataflow
Explanation
Cloud Logging captures log data, while the other options serve different purposes for data processing or messaging.
Q294
You are configuring IAM roles for a project. What happens if a user has multiple roles that grant different permissions?
AUser gets only highest privilege
BUser gets lowest privilege
CUser is denied access entirely
DUser combines all privileges
Explanation
Users combine privileges from all assigned roles, while others inaccurately suggest an override mechanism.
Q295
Which Google Cloud service provides managed NoSQL databases?
ACloud Firestore
BCloud Spanner
CCloud SQL
DCloud Datastore
Explanation
Cloud Firestore is designed for NoSQL document storage; others serve different purposes.
Q296
You are configuring a load balancer. What happens when you set the health check?
AOnly operational VMs serve traffic.
BAll VMs become non-responsive.
CTraffic will flow to all VMs.
DNone of the VMs will be checked.
Explanation
Health checks ensure traffic only goes to healthy instances; others misinterpret VM status.
Q297
A company needs to improve security for their VM instances. Which option should they consider first?
AUse static IP addresses.
BImplement IAM roles.
CIncrease VM sizes.
DDisable firewall rules.
Explanation
Implementing IAM roles controls access rights; others do not enhance security effectively.
Q298
Which service is used for serverless app development on GCP?
ACloud Functions
BCompute Engine
CCloud Storage
DKubernetes Engine
Explanation
Cloud Functions enables serverless application development, while others are not serverless options.
Q299
A company needs to store data across multiple regions for redundancy. What is the best storage option?