Which service is best for real-time data processing in Google Cloud?
AGoogle Cloud Dataflow
BGoogle Cloud Storage
CGoogle Cloud Run
DGoogle Cloud Functions
Explanation
Google Cloud Dataflow is designed for real-time data processing, while the others serve different functions.
Q392
A company needs to automatically scale its application based on traffic. Which service should they use?
AGoogle App Engine
BGoogle Compute Engine
CGoogle Kubernetes Engine
DGoogle Cloud Functions
Explanation
Google App Engine automatically scales with traffic, unlike Compute Engine which requires manual configuration.
Q393
You are configuring IAM for a project. What happens when you grant a service account viewer role on a specific resource?
AIt can edit the resource.
BIt can only view the resource.
CIt gets full access to the project.
DIt inherits permissions from other roles.
Explanation
The viewer role allows read access only, not edit permissions.
Q394
Which service offers automatic scaling for emerging workloads?
AGoogle Kubernetes Engine
BCloud Functions
CApp Engine
DCompute Engine
Explanation
App Engine automatically scales applications based on incoming traffic, while the others require manual configuration or are for specific use-cases.
Q395
A company needs real-time analytics for streaming data. Which Google Cloud service is best suited?
ABigQuery
BDataflow
CPub/Sub
DCloud Storage
Explanation
Dataflow is designed for real-time data processing and analytics, while the other options either store data or batch process it.
Q396
What happens when a Cloud Function exceeds its execution timeout?
AFunction executes until completion
BFunction is permanently shut down
CFunction is terminated and fails
DFunction restarts automatically
Explanation
If a Cloud Function exceeds its execution timeout, it is terminated and marked as failed, which is incorrect for the others.
Q397
Which service is best for deploying machine learning models at scale?
AGoogle Cloud AI Platform
BGoogle Compute Engine
CGoogle Firebase
DGoogle Cloud Functions
Explanation
Google Cloud AI Platform is specifically designed for scalable ML deployment, while the others serve different purposes.
Q398
A company needs to provide temporary storage for data during processing. Which Google Cloud service is ideal for this?
AGoogle Cloud Pub/Sub
BGoogle Cloud Storage
CGoogle Cloud Dataflow
DGoogle Cloud BigQuery
Explanation
Google Cloud Dataflow is designed for processing and temporarily storing data, unlike the other options.
Q399
What happens when you set a VM to a Preemptible instance type?
AGuaranteed uptime for 24 hours
BLower cost but may be terminated
CCannot be stopped or restarted
DOptimized for persistent workloads
Explanation
Preemptible instances are cheaper but can be terminated by Google Cloud at any time, unlike the other options.
Q400
Which service is primarily used for generative AI model training in Google Cloud?
AVertex AI
BCloud Functions
CBigQuery
DCloud Storage
Explanation
Vertex AI provides tools for training AI models, while others serve different functions.