A company needs to implement a pub/sub messaging system. Which service should they use?
ACloud Pub/Sub
BCloud Storage
CCloud Firestore
DCloud Dataflow
Explanation
Cloud Pub/Sub is specifically designed for real-time messaging, unlike the others which serve different purposes.
Q252
What happens when a service account is deleted in Google Cloud IAM?
AAll associated permissions are revoked
BService account persists for 30 days
CAll access tokens remain valid
DService account data is permanently lost
Explanation
Deleting a service account revokes all its permissions immediately, while others are incorrect statements.
Q253
Which service is best for scalable web applications?
AGoogle App Engine
BGoogle Cloud Functions
CGoogle Compute Engine
DGoogle Cloud Storage
Explanation
Google App Engine automatically manages scaling and provides a platform for web apps; the others serve different purposes.
Q254
You are configuring IAM policies for a project. What is the least privilege principle?
AGranting full access to all resources
BLimiting access only to necessary resources
CSharing access among multiple users
DAllowing global permissions for ease
Explanation
The least privilege principle ensures users only get necessary access; the others contradict this idea by allowing excessive permissions.
Q255
A company needs high availability for a critical application. Which GCP feature should they utilize?
AZonal Availability
BRegional Deployment
CMulti-Region Configuration
DInstance Templates
Explanation
Multi-Region Configuration ensures redundancy and high availability across geographical regions; the others do not provide the same level of redundancy.
Q256
Which Google Cloud service allows automatic scaling of applications?
AApp Engine
BCloud Functions
CKubernetes Engine
DCloud Run
Explanation
App Engine automatically scales based on traffic, while others require manual scaling configurations.
Q257
A company needs a serverless solution for automated image processing. What should they use?
ACompute Engine
BCloud Functions
CApp Engine
DCloud Storage
Explanation
Cloud Functions enables event-driven image processing without managing servers, unlike the others.
Q258
You are configuring IAM roles for a data analyst. What is an effective way to minimize privileges?
Which Google Cloud service provides an environment for deploying containerized applications?
AGoogle Kubernetes Engine
BGoogle Docs
CGoogle BigQuery
DGoogle Cloud Storage
Explanation
Google Kubernetes Engine is specifically designed to manage and deploy containerized applications, while the others serve different purposes.
Q260
A company needs to securely store API keys for their application. Which Google Cloud service should they use?
ACloud Functions
BSecret Manager
CCloud Storage
DCloud Pub/Sub
Explanation
Secret Manager is designed to store and manage sensitive information, which includes API keys, while the others are not tailored for this purpose.