What happens when you assign a new IAM role to a user that has already been assigned several roles?
ARoles are reset to new assignment
BUser loses all previous roles
CUser gains additional permissions
DNo changes occur to their roles
Explanation
The user gains additional permissions from the new role without losing existing ones.
Q22
Which service offers fully managed container orchestration?
AGoogle Kubernetes Engine
BCloud Functions
CCloud Run
DApp Engine
Explanation
Google Kubernetes Engine (GKE) provides managed Kubernetes clusters, while others are for serverless execution or PaaS.
Q23
A company needs to store and analyze large datasets in real time. Which service should they use?
ABigQuery
BCloud SQL
CCloud Storage
DCloud Pub/Sub
Explanation
BigQuery is designed for high-speed data analysis; Cloud SQL and Storage are not optimized for real-time analytics.
Q24
What happens when you set a temporary storage bucket to be publicly accessible?
AData is secure and not exposed.
BAnyone can access the data.
COnly logged-in users can access.
DData is encrypted by default.
Explanation
Public access allows anyone to view the data; other options do not accurately describe the outcome.
Q25
Which service is used for managing Kubernetes clusters in Google Cloud?
AGoogle Kubernetes Engine
BCloud Functions
CApp Engine
DCloud Run
Explanation
Google Kubernetes Engine (GKE) is specifically designed for managing Kubernetes clusters, while the others serve different purposes.
Q26
A company needs a solution to monitor and analyze logs in real-time from multiple Google Cloud services. Which should they use?
ACloud Monitoring
BCloud Logging
CBigQuery
DDataflow
Explanation
Cloud Logging provides real-time log ingestion and analysis, while the other services focus on different data types or purposes.
Q27
You are configuring a VPC with a subnet that has a custom route. What could happen if the next-hop is misconfigured?
ATraffic will be rerouted correctly
BTraffic may not reach intended destinations
CAll traffic will be blocked
DOnly external traffic is affected
Explanation
A misconfigured next-hop can result in traffic not reaching its intended destinations, while the other options misstate the effects of misconfiguration.
Q28
Which service provides fully managed NoSQL database?
ACloud Firestore
BCloud SQL
CCloud Spanner
DBigQuery
Explanation
Cloud Firestore is a fully managed NoSQL database; Cloud SQL and Cloud Spanner are SQL-based solutions, while BigQuery is for analytics.
Q29
A company needs to securely manage API keys. Which service should they use?
ACloud Function
BSecret Manager
CCloud Storage
DCloud Run
Explanation
Secret Manager is specifically designed for managing sensitive information like API keys; the other options are not intended for this purpose.
Q30
You are configuring a VM instance with public IP. What happens when you remove the public IP?
AInstance becomes unresponsive
BInternal communication is lost
CInstance remains accessible on private network
DInstance will be deleted
Explanation
Removing the public IP does not affect internal network communication; the other options misrepresent the outcome.