A company needs to run batch processing jobs periodically. What would you recommend?
AGoogle App Engine
BCloud Scheduler with Cloud Functions
CCloud Storage
DDataflow using Pub/Sub
Explanation
Cloud Scheduler can trigger Cloud Functions at specified times for batch jobs.
Q282
What happens when you assign different IAM roles to users at various hierarchy levels?
ARoles are cumulative only at project level
BRoles overwrite based on specific permissions
CRoles are combined across hierarchy levels
DRoles apply only to individual resources
Explanation
IAM roles are cumulative, thus permissions from all applied roles are combined.
Q283
Which service should you use for serverless SQL databases?
ACloud SQL
BBigQuery
CCloud Spanner
DCloud Datastore
Explanation
Cloud SQL supports serverless SQL databases, while others serve different purposes.
Q284
A company needs to ensure their VM instances can be restarted in a different region after a failure. What should they use?
AZonal Compute Engine
BRegional Managed Instance Groups
CBigQuery
DPersistent Disks
Explanation
Regional Managed Instance Groups allow VMs to be distributed across multiple zones in a region for high availability.
Q285
What happens when you set a custom IAM role with no permissions assigned?
AUser gains view-only access
BUser retains all original permissions
CUser has no permissions
DUser can manage all resources
Explanation
A custom role with no permissions grants no access to resources.
Q286
Which service allows you to create managed Kubernetes clusters on Google Cloud?
ACloud Functions
BCloud Run
CGoogle Kubernetes Engine (GKE)
DCompute Engine
Explanation
GKE specifically manages Kubernetes clusters; the others do not provide this functionality.
Q287
A company needs to store large amounts of unstructured data. What is the most cost-effective Google Cloud storage option?
AFilestore
BCloud Storage Nearline
CCloud Storage Archive
DCloud Storage Standard
Explanation
Cloud Storage Archive is designed for long-term storage and is the most cost-effective option described.
Q288
You are configuring IAM roles for a multi-environment Google Cloud project. What happens if a user has roles assigned both at the project and folder levels?
AOnly project-level roles are used
BOnly folder-level roles are used
CBoth roles are consolidated
DHigher privilege between the two is granted
Explanation
The more privileged role takes precedence, granting the user the highest level of access.
Q289
Which service is best for building microservices on GCP?
AGoogle Kubernetes Engine
BCloud Functions
CCloud Run
DApp Engine
Explanation
Cloud Run is optimized for microservices, whereas the others serve different purposes.
Q290
A company needs to store sensitive customer data on GCP. Which option ensures maximum data privacy compliance?
AUse Cloud Storage without encryption
BUse Cloud SQL with encryption
CUse BigQuery with public datasets
DUse persistent disks without IAM roles
Explanation
Cloud SQL with encryption ensures data is stored securely, unlike the other options.