A company needs to efficiently deploy microservices. Which Google Cloud service should they use?
AGoogle Kubernetes Engine
BCloud Functions
CCloud Run
DApp Engine
Explanation
Google Kubernetes Engine is designed for managing microservices at scale, whereas the others are more suited for serverless or simpler applications.
Q92
What happens when a Cloud Pub/Sub message is not acknowledged?
AMessage is deleted
BMessage is retried
CMessage is moved to archive
DMessage is sent to another topic
Explanation
Unacknowledged messages are retried until they are acknowledged or reach the maximum retry attempts.
Q93
You are configuring IAM roles for a project. Which role allows a developer to perform actions like listing and getting buckets in Cloud Storage?
AStorage Object Viewer
BStorage Admin
CStorage Object Creator
DStorage Viewer
Explanation
The Storage Viewer role allows listing and getting bucket details, whereas others provide broader or distinct functionalities.
Q94
Which service is ideal for managing containerized applications at scale?
AGoogle Kubernetes Engine
BBigQuery
CCloud Functions
DApp Engine
Explanation
Google Kubernetes Engine is specifically designed for container orchestration, while others serve different purposes.
Q95
A company needs to centralize logging for multiple microservices running on GCP. Which solution should they implement?
ACloud Audit Logs
BCloud Trace
CCloud Logging
DCloud Pub/Sub
Explanation
Cloud Logging aggregates logs from various services for centralized management, unlike other options which serve different functionalities.
Q96
What happens when you set a Google Cloud Storage bucket's 'Uniform bucket-level access'?
AObject ACLs are used
BAll objects inherit bucket permissions
CPublic access is disabled
DVersioning is automatically enabled
Explanation
Setting 'Uniform bucket-level access' means all objects will follow the permissions set at the bucket level, not individual ACLs.
Q97
Which service is used for serverless computing?
ACloud Functions
BCompute Engine
CKubernetes Engine
DApp Engine
Explanation
Cloud Functions provides a serverless execution environment, whereas others require more management.
Q98
A company needs to ensure its application scales automatically based on load. Which service should they use?
ACloud Run
BCloud Storage
CCloud Spanner
DCloud Pub/Sub
Explanation
Cloud Run automatically scales containerized applications, while others do not provide auto-scaling features.
Q99
You are configuring IAM permissions for a project. What happens if you assign 'roles/viewer' to a user?
AUser can manage resources
BUser can't modify resources
CUser can create resources
DUser can delete resources
Explanation
'roles/viewer' allows read-only access, preventing any modifications.
Q100
Which Google Cloud service is optimal for serverless task execution?
ACloud Functions
BCompute Engine
CApp Engine
DCloud Run
Explanation
Cloud Functions provide a serverless environment for executing code. Compute Engine and App Engine require more management, while Cloud Run focuses on containerized applications.