A company needs to batch process files in Cloud Storage and output results to BigQuery. Which service is best suited for this?
ADataflow
BCloud Run
CApp Engine
DCloud Dataproc
Explanation
Dataflow is designed for batch and stream processing, making it ideal for this task.
Q12
You are configuring IAM roles. What happens if a user has both viewer and owner roles for a project?
AViewer role overrides owner
BOwner role allows full access
CBoth roles cancel each other
DIAM roles are additive
Explanation
IAM roles are additive, giving the user permissions from both roles.
Q13
Which service is best for serverless application deployment?
AGoogle Cloud Run
BGoogle Compute Engine
CGoogle Kubernetes Engine
DGoogle App Engine
Explanation
Google Cloud Run is tailored for serverless applications, unlike the others, which require more configuration.
Q14
A company needs to monitor API usage. Which tool should they use?
AGoogle Cloud Monitoring
BGoogle BigQuery
CGoogle Cloud Storage
DGoogle Pub/Sub
Explanation
Google Cloud Monitoring is specifically designed to track performance metrics, including API usage, while the others serve different purposes.
Q15
What happens when you set a GCS bucket's versioning to 'on'?
AOnly the latest version is stored
BAll versions of objects are retained
CBucket size is limited to 100GB
DObjects become undeleteable
Explanation
Enabling versioning retains all object versions, unlike A, C, and D, which are incorrect concepts.
Q16
Which service provides serverless computing on Google Cloud?
ACloud Functions
BCompute Engine
CCloud Storage
DKubernetes Engine
Explanation
Cloud Functions is a serverless platform, while others are not.
Q17
A company needs to store sensitive user data securely. What should they implement?
APublic Cloud Storage
BEncryption at rest
CStandard IAM roles
DGlobal load balancer
Explanation
Encryption at rest protects sensitive data, unlike other options.
Q18
What happens when a Google Cloud Storage bucket is set to 'uniform access'?
ANo IAM roles can be applied
BAccess to all objects is public
COnly bucket owner can access
DPermissions are set at the bucket level
Explanation
'Uniform access' grants permissions at the bucket level instead of object level, unlike other choices.
Q19
Which service is best for managing container deployments?
AGoogle Kubernetes Engine
BGoogle Cloud Functions
CGoogle App Engine
DGoogle Cloud Run
Explanation
Google Kubernetes Engine is specialized for managing Kubernetes clusters, while the other options cater to different use cases.
Q20
A company needs to improve data processing speed for analytics. Which tool would best suit their requirements?
ACloud Pub/Sub
BBigQuery
CCloud Functions
DCloud Storage
Explanation
BigQuery is optimized for large scale data analysis, while others serve different roles in the data pipeline.