Which service is best for real-time data processing?
ACloud Pub/Sub
BCloud Storage
CBigQuery
DCloud Functions
Explanation
Cloud Pub/Sub is designed for real-time messaging, while others are for storage or querying.
Q2
A company needs to store user files with lifecycle management. Which service should they use?
ACloud SQL
BCloud Storage
CBigtable
DDataproc
Explanation
Cloud Storage offers lifecycle management policies for objects, unlike the other options which serve different purposes.
Q3
You are configuring IAM roles. What happens if you assign too many permissions?
AIncreased security risks
BMore accessibility to resources
CFaster access to resources
DEnhanced auditing capabilities
Explanation
Assigning too many permissions increases security risks, whereas the other options suggest benefits that are misleading.
Q4
Which service is best for quick, serverless container deployment?
ACloud Run
BCompute Engine
CApp Engine
DCloud Functions
Explanation
Cloud Run specializes in running containers serverlessly, while others focus on VMs or functions.
Q5
A company needs low-latency access to their global customer data. Which storage solution should they use?
ACloud SQL
BCloud Storage
CBigtable
DCloud Spanner
Explanation
Bigtable provides high throughput and low-latency access suitable for global customers, unlike the others which are either slower or not globally distributed.
Q6
What happens when you set a Custom Role with no permissions in IAM?
ARole is invalid
BNo users can assume it
CPermissions not effective
DUser has full access
Explanation
The role becomes ineffective since it lacks permissions, while the other options inaccurately describe role behavior.
Q7
Which Google Cloud service allows you to run Docker containers without managing servers?
AGoogle Kubernetes Engine
BCloud Functions
CCloud Run
DApp Engine
Explanation
Cloud Run is designed for running containers serverlessly; others require more management or different deployment models.
Q8
A company needs to analyze logs from multiple services in real-time. Which service should they use?
ACloud Storage
BBigQuery
CCloud Pub/Sub
DCloud Dataflow
Explanation
Cloud Dataflow is optimized for processing and analyzing data streams; others are not designed specifically for real-time analysis.
Q9
You are configuring IAM roles for a new project. What happens if a user has both a specific role and a broader role with conflicting permissions?
ABroader role takes precedence
BSpecific role takes precedence
CNo permissions are granted
DPermissions are combined
Explanation
In IAM, the most permissive role is always prioritized; others misinterpret how conflicting permissions work.
Q10
Which service allows real-time analytics on streaming data?
ACloud Pub/Sub
BCloud Functions
CCloud Storage
DBigQuery
Explanation
Cloud Pub/Sub is designed for real-time messaging; others focus on storage or batch processing.