A company needs to securely store confidential data with access control. Which Google Cloud service should they use?
AGoogle Cloud Storage
BGoogle Cloud SQL
CGoogle Firestore
DSecret Manager
Explanation
Google Secret Manager is specifically designed for securely storing sensitive information, while others are for different data types.
Q162
What happens when you set an instance to automatic restart in Google Compute Engine?
AIt will always restart after shutdown.
BIt restarts on host failures only.
CIt restarts on all failures.
DNo restarts are allowed.
Explanation
Automatic restart only occurs during host failures, not for all failures and shutdowns.
Q163
Which Google Cloud service is best for real-time data ingestion?
ACloud Pub/Sub
BCloud Functions
CCloud Storage
DCloud SQL
Explanation
Cloud Pub/Sub effectively handles real-time data streams, while others don't specialize in this area.
Q164
A company needs to deploy a microservices architecture. Which Google Cloud tool is best suited for managing containers?
ACloud Functions
BCloud Build
CGoogle Kubernetes Engine
DApp Engine
Explanation
Google Kubernetes Engine is designed for container orchestration, unlike the other options.
Q165
You are configuring a CI/CD pipeline in Google Cloud. What will happen if you don't set environmental variables correctly in Cloud Build?
APipeline will not execute any steps
BPipeline will execute without issues
CBuild will fail due to misconfiguration
DOnly warnings will be shown
Explanation
Incorrect environmental variables lead to a misconfigured build that fails execution.
Q166
Which service is best for managing containerized applications?
AGoogle Kubernetes Engine
BCloud Functions
CCloud Run
DApp Engine
Explanation
Google Kubernetes Engine (GKE) is tailored for orchestrating containers, whereas others target different functionalities like serverless computing or app hosting.
Q167
A company needs to run a job whenever a file is uploaded to Cloud Storage. What should they use?
APub/Sub
BCloud Functions
CCloud Scheduler
DCloud Run
Explanation
Cloud Functions can be triggered directly by Cloud Storage events, while other options are not event-driven in this context.
Q168
You are configuring IAM roles for a project. What happens when a user has multiple roles with different permissions?
AUser receives merged permissions
BUser's permissions are negated
CUser has no permissions
DUser can only use one role
Explanation
IAM roles are additive; a user gains all the permissions from their assigned roles.
Q169
Which Google Cloud service allows you to deploy machine learning models at scale?
AAI Platform
BDataflow
CBigQuery
DCloud Functions
Explanation
AI Platform is specifically designed for ML deployment, while others are for data processing or serverless functions.
Q170
A company needs to ensure that their data is encrypted at rest in Google Cloud Storage. What should they implement?
ADefault encryption settings
BAccess Control Lists
CPub/Sub encryption
DVPC Service Controls
Explanation
Default encryption settings automatically encrypt data at rest, while the others don't directly relate to encryption.