Which Google Cloud service offers fully managed NoSQL database solutions?
ACloud Firestore
BBigQuery
CCloud SQL
DCloud Spanner
Explanation
Cloud Firestore is designed for NoSQL databases, while BigQuery is for analytics, Cloud SQL is relational, and Cloud Spanner is for distributed transactions.
Q2
A company wants to store large amounts of unstructured data. Which storage option is most suitable?
ACloud SQL
BCloud Pub/Sub
CCloud Storage
DCloud Spanner
Explanation
Cloud Storage is optimized for unstructured data, whereas Cloud SQL and Cloud Spanner are relational, and Cloud Pub/Sub is for messaging.
Q3
You are configuring a VM instance and need to restrict outgoing traffic. What should you set?
AFirewall rules
BService account permissions
CIAM roles
DVM zone
Explanation
Firewall rules specifically control network traffic, while the others are related to permissions and instance configuration.
Q4
Which service allows you to deploy containerized applications in Google Cloud?
AGoogle Kubernetes Engine
BCloud Functions
CApp Engine
DCloud Run
Explanation
Google Kubernetes Engine specifically manages containerized applications, while the others serve different purposes.
Q5
A company needs to ensure a VM instance is automatically restarted after maintenance. Which feature should they enable?
AAutomatic Restart
BPreemptible
CHigh Availability
DScheduled Scaling
Explanation
Automatic Restart ensures that VMs are restarted after maintenance, while the others do not provide this specific functionality.
Q6
What happens when you set a Cloud Storage bucket to 'Uniform access control'?
AEveryone gets full access.
BAccess is based on IAM policy.
CPublic access for all files.
DFiles cannot be individually accessed.
Explanation
'Uniform access control' restricts access to IAM policies instead of individual files, unlike the other options.
Q7
Which service is best for serverless functions?
ACloud Functions
BGoogle Kubernetes Engine
CGoogle Compute Engine
DCloud SQL
Explanation
Cloud Functions allows you to run serverless functions, unlike the other options.
Q8
A company needs to securely share data with users outside its domain. What should they implement?
ACloud Storage public buckets
BIAM access control
CSigned URLs
DCloud Identity Groups
Explanation
Signed URLs allow secure, time-limited access, while the others do not share data securely.
Q9
You are configuring a load balancer with a backend service. What happens if the instance group is unhealthy?
AThe load balancer stops routing traffic
BAll traffic is routed to another group
CTraffic is still routed to unhealthy instances
DHealth checks are ignored completely
Explanation
Traffic is directed to healthy instances; unhealthy ones are excluded.
Q10
Which Google Cloud service enables serverless computing?
ACloud Functions
BCloud Run
CApp Engine
DCompute Engine
Explanation
Cloud Functions runs code in response to events, uniquely offering serverless functionality.