A company needs to store its archival data with low retrieval costs. Which service should they use?
ACloud SQL
BCloud Spanner
CCloud Storage Nearline
DCloud Storage Coldline
Explanation
Cloud Storage Coldline is ideal for archival data, while Nearline is for infrequent access.
Q312
What happens when you configure an IAM role with no permissions assigned?
AUsers gain access to all resources
BUsers have restricted access
CNo access to any resources
DUsers can manage IAM roles
Explanation
The role effectively grants no permissions, denying access.
Q313
Which Google Cloud service can automatically scale based on load?
AGoogle Kubernetes Engine
BCloud Functions
CCloud Run
DCloud Storage
Explanation
Cloud Run can automatically scale to zero or more based on incoming traffic, whereas others do not automatically scale in the same manner.
Q314
You are configuring an IAM policy for a new project. What happens if a user has roles assigned at both the project and folder levels?
AFolder level roles override project roles
BProject level roles override folder roles
CThey are merged together
DNo roles are applied
Explanation
Roles are additive; both folder and project roles are considered for access control.
Q315
A company needs to consistently monitor application performance metrics across multiple services. Which Google Cloud service should they implement?
ACloud Pub/Sub
BCloud Monitoring
CCloud Scheduler
DCloud Functions
Explanation
Cloud Monitoring provides insights and metrics for applications; others do not focus on performance monitoring.
Q316
Which Google Cloud service is best for event-driven serverless computing?
ACloud Functions
BApp Engine
CCloud Run
DCompute Engine
Explanation
Cloud Functions is specifically designed for event-driven serverless applications; other options are for broader use cases.
Q317
A company needs to securely share data between its on-premises systems and Google Cloud. Which service should they use?
ACloud Storage
BCloud Pub/Sub
CCloud VPN
DCloud Spanner
Explanation
Cloud VPN enables secured connections between on-premises and Google Cloud; the others do not provide secure networking.
Q318
What happens when you set an IAM policy with 'deny all' followed by 'allow specific'?
AOnly allowed users can access
BAccess is denied for everyone
CAccess is allowed for everyone
DPolicies are ignored completely
Explanation
In IAM, a deny takes precedence over allow, but specific allows can grant access to intended users; other options misinterpret the hierarchy.
Q319
Which Google Cloud service is optimized for scalable NoSQL databases?
ACloud Spanner
BCloud Firestore
CBigQuery
DCloud SQL
Explanation
Cloud Firestore is designed for flexible, scalable NoSQL databases, while the others serve different database requirements.
Q320
A company needs to build a CI/CD pipeline in Google Cloud. Which tool should they use for continuous integration?
AGoogle Cloud Build
BCloud Functions
CCloud Run
DApp Engine
Explanation
Google Cloud Build is specifically designed for CI/CD tasks, unlike the other services, which focus on deployment or function execution.