Which Google Cloud service is used for serverless application deployment?
ACloud Functions
BCompute Engine
CApp Engine
DCloud Run
Explanation
Cloud Run allows deploying containerized applications without server management, unlike the others which either require more management or do not support containerized apps.
Q452
A company needs to monitor the usage of their resources in Google Cloud. Which service should they use?
ACloud Monitoring
BCloud Logging
CStackdriver
DCloud Trace
Explanation
Cloud Monitoring provides robust metrics and usage statistics, while others focus on logs or tracing rather than general monitoring.
Q453
You are configuring IAM roles for a project. What happens when a user has multiple roles assigned?
AThey inherit permissions from all roles
BThey lose the lowest permission set
COnly the highest role is applied
DThey must choose one role
Explanation
A user with multiple roles inherits permissions cumulatively, ensuring they retain all granted permissions.
Q454
Which service allows you to automate VM provisioning of GCP resources?
ACloud Deployment Manager
BCloud Functions
CCloud Run
DCompute Engine
Explanation
Cloud Deployment Manager automates resource provisioning, while others serve different purposes.
Q455
A company needs to securely store sensitive data. Which GCP service is best suited for this?
ACloud Storage Public Buckets
BCloud SQL
CCloud Spanner
DSecret Manager
Explanation
Secret Manager is specifically designed for secure data storage, unlike the others.
Q456
You are configuring IAM permissions for a user. What happens if you assign multiple roles with conflicting permissions?
AUser receives the highest privilege
BUser's permissions are averaged
CUser is denied all access
DLeast privilege is enforced
Explanation
IAM permissions are additive, so the highest granted privilege prevails.
Q457
Which service allows you to run Docker containers on GCP?
ACloud Run
BApp Engine
CGoogle Functions
DCloud Storage
Explanation
Cloud Run is specifically designed for deploying and managing containerized applications, whereas the others serve different purposes.
Q458
A company needs to grant temporary access to a user for a specific Google Cloud resource. What should you use?
AService Account
BIAM Policy Binding
CTemporary Credentials
DResource Ownership
Explanation
Temporary Credentials provide short-term access; the other options do not provide temporary access effectively.
Q459
What happens when you delete a Google Cloud Storage bucket?
AAll data is irretrievably lost.
BData is automatically archived.
CDeletion is reversible for 30 days.
DData can be retrieved by support.
Explanation
Deleting a bucket permanently removes all its contents without recovery, while the other options promise capabilities that don't exist.
Q460
Which service allows for serverless execution of code in response to events?
ACloud Functions
BCompute Engine
CCloud Run
DApp Engine
Explanation
Cloud Functions is designed for event-driven architectures, while the others are for different execution models.