1. Which Google Cloud service allows developers to deploy applications without managing infrastructure?
Cloud Run
Cloud Storage
Compute Engine
Cloud VPN
✅ Correct Answer: Cloud Run
2. What is the purpose of Google Cloud's Cloud Functions?
To run event-driven serverless functions
To manage virtual machines
To store data
To monitor network traffic
✅ Correct Answer: To run event-driven serverless functions
3. Which Google Cloud service provides managed container orchestration?
Google Kubernetes Engine (GKE)
Cloud Run
Cloud Functions
App Engine
✅ Correct Answer: Google Kubernetes Engine (GKE)
4. What is the role of Google Cloud's App Engine?
To provide a fully managed platform for web applications
To manage virtual machines
To store data
To monitor network traffic
✅ Correct Answer: To provide a fully managed platform for web applications
5. Which Google Cloud service is used for serverless data warehousing?
BigQuery
Cloud Storage
Cloud SQL
Firestore
✅ Correct Answer: BigQuery
6. What is the purpose of Google Cloud's Cloud Storage?
To store and retrieve large amounts of data
To manage virtual machines
To run serverless functions
To monitor network traffic
✅ Correct Answer: To store and retrieve large amounts of data
7. Which Google Cloud service provides managed message queuing?
Pub/Sub
Cloud Tasks
Cloud Scheduler
Cloud Functions
✅ Correct Answer: Pub/Sub
8. What is the role of Google Cloud's Cloud Build?
To automate CI/CD pipelines
To manage virtual machines
To store data
To monitor network traffic
✅ Correct Answer: To automate CI/CD pipelines
9. Which Google Cloud service is used for real-time data streaming?
Pub/Sub
Cloud Storage
Cloud SQL
Firestore
✅ Correct Answer: Pub/Sub
10. What is the purpose of Google Cloud's Cloud Scheduler?
To schedule cron jobs and automate tasks
To manage virtual machines
To store data
To monitor network traffic
✅ Correct Answer: To schedule cron jobs and automate tasks
11. Which Google Cloud service provides managed workflow orchestration?
Cloud Composer
Cloud Functions
Cloud Run
App Engine
✅ Correct Answer: Cloud Composer
12. What is the role of Google Cloud's Cloud Debugger?
To inspect application state in real-time
To manage virtual machines
To store data
To monitor network traffic
✅ Correct Answer: To inspect application state in real-time
13. Which Google Cloud service provides managed version control?
Cloud Source Repositories
Cloud Build
Cloud Functions
Cloud Run
✅ Correct Answer: Cloud Source Repositories
14. What is the purpose of Google Cloud's Cloud Tasks?
To manage asynchronous task execution
To manage virtual machines
To store data
To monitor network traffic
✅ Correct Answer: To manage asynchronous task execution
15. Which Google Cloud service provides managed relational databases?
Cloud SQL
Bigtable
Firestore
Spanner
✅ Correct Answer: Cloud SQL
16. What is the role of Google Cloud's Cloud Trace?
To provide distributed tracing for applications
To manage virtual machines
To store data
To monitor network traffic
✅ Correct Answer: To provide distributed tracing for applications
17. Which Google Cloud service provides managed NoSQL databases?
Firestore
Cloud SQL
Bigtable
Spanner
✅ Correct Answer: Firestore
18. What is the purpose of Google Cloud's Cloud Profiler?
To analyze application performance and identify bottlenecks
To manage virtual machines
To store data
To monitor network traffic
✅ Correct Answer: To analyze application performance and identify bottlenecks
19. Which Google Cloud service provides managed in-memory caching?
Memorystore
Cloud Storage
Cloud SQL
Firestore
✅ Correct Answer: Memorystore
20. What is the role of Google Cloud's Cloud Endpoints?
To provide API management
To manage virtual machines
To store data
To monitor network traffic
✅ Correct Answer: To provide API management
21. Which service is best for running stateless HTTP containers without managing infrastructure?
Cloud Run
Compute Engine
GKE
App Engine Flexible
✅ Correct Answer: Cloud Run
22. What is the primary advantage of using App Engine Standard over App Engine Flexible?
Automatic scaling with zero configuration
Support for custom runtimes
Lower cost
Faster deployment times
✅ Correct Answer: Automatic scaling with zero configuration
23. Which service would you use to trigger a function when a file is uploaded to Cloud Storage?
Cloud Functions
Cloud Run
Cloud Scheduler
Pub/Sub
✅ Correct Answer: Cloud Functions
24. What is the purpose of the App Engine cron.yaml file?
To schedule recurring tasks
To define environment variables
To configure scaling settings
To specify runtime dependencies
✅ Correct Answer: To schedule recurring tasks
25. Which service provides fully managed WebSockets for real-time applications?
Firestore with real-time updates
Pub/Sub
Cloud Run
Memorystore
✅ Correct Answer: Firestore with real-time updates
26. What is the primary use case for Cloud Scheduler?
Running cron jobs
Processing event-driven functions
Managing container deployments
Orchestrating workflows
✅ Correct Answer: Running cron jobs
27. Which command deploys an application to App Engine?
gcloud app deploy
gcloud functions deploy
gcloud run deploy
gcloud container deploy
✅ Correct Answer: gcloud app deploy
28. What is the purpose of the app.yaml file in App Engine?
To configure application settings
To define CI/CD pipelines
To manage database schemas
To set up network policies
✅ Correct Answer: To configure application settings
29. Which service would you use to process messages from a queue with guaranteed delivery?
Pub/Sub
Cloud Tasks
Cloud Scheduler
Cloud Functions
✅ Correct Answer: Pub/Sub
30. What is the primary benefit of using Cloud Build?
Automated CI/CD pipelines
Serverless function execution
Real-time database queries
Managed Kubernetes clusters
✅ Correct Answer: Automated CI/CD pipelines
31. Which service provides a managed Apache Airflow environment?
Cloud Composer
Cloud Run
Cloud Functions
App Engine
✅ Correct Answer: Cloud Composer
32. What is the purpose of Cloud Endpoints?
API management and monitoring
Serverless container execution
Real-time data streaming
Managed database provisioning
✅ Correct Answer: API management and monitoring
33. Which database service is best for a mobile app requiring offline sync?
Firestore
Cloud SQL
Bigtable
Spanner
✅ Correct Answer: Firestore
34. What is the primary advantage of using Cloud Run over App Engine?
Ability to run any containerized application
Built-in autoscaling
Lower cost
Faster cold starts
✅ Correct Answer: Ability to run any containerized application
35. Which service would you use to debug a running App Engine application?
Cloud Debugger
Cloud Logging
Cloud Monitoring
Error Reporting
✅ Correct Answer: Cloud Debugger
36. What is the purpose of the .gcloudignore file?
To exclude files from deployment
To configure IAM permissions
To define environment variables
To specify runtime dependencies
✅ Correct Answer: To exclude files from deployment
37. Which service provides best-in-class autoscaling for web applications?
App Engine Standard
Compute Engine
GKE
Cloud Functions
✅ Correct Answer: App Engine Standard
38. What is the primary use case for Cloud Tasks?
Asynchronous task execution
Real-time messaging
Cron job scheduling
Data warehousing
✅ Correct Answer: Asynchronous task execution
39. Which command would you use to view logs for a Cloud Function?
gcloud functions logs read
gcloud logging read
gcloud app logs read
gcloud run logs read
✅ Correct Answer: gcloud functions logs read
40. What is the purpose of Cloud Build triggers?
To automatically start builds on code changes
To schedule database backups
To manage VM instances
To encrypt secrets
✅ Correct Answer: To automatically start builds on code changes
41. Which service provides a fully managed Redis instance?
Memorystore for Redis
Cloud SQL
Firestore
Bigtable
✅ Correct Answer: Memorystore for Redis
42. What is the primary advantage of using Firestore over Realtime Database?
More sophisticated querying capabilities
Lower latency
Smaller database size
Better offline support
✅ Correct Answer: More sophisticated querying capabilities
43. Which service would you use to analyze application performance bottlenecks?
Cloud Profiler
Cloud Trace
Cloud Debugger
Error Reporting
✅ Correct Answer: Cloud Profiler
44. What is the purpose of Cloud Source Repositories?
Private Git repository hosting
CI/CD pipeline management
Container image storage
Secret management
✅ Correct Answer: Private Git repository hosting
45. Which service provides automatic scaling for containerized applications?
Cloud Run
Compute Engine
GKE without autoscaling
Cloud Functions
✅ Correct Answer: Cloud Run
46. What is the primary use case for Cloud Composer?
Workflow orchestration
Real-time analytics
Serverless function execution
Managed database provisioning
✅ Correct Answer: Workflow orchestration
47. Which command deploys a container to Cloud Run?
gcloud run deploy
gcloud app deploy
gcloud functions deploy
gcloud container deploy
✅ Correct Answer: gcloud run deploy
48. What is the purpose of the --region flag in Cloud Run deployments?
To specify where to deploy the service
To configure autoscaling limits
To set environment variables
To allocate CPU resources
✅ Correct Answer: To specify where to deploy the service
49. Which service provides best-in-class cold start performance for serverless applications?
Cloud Functions (2nd gen)
App Engine Standard
Cloud Run
App Engine Flexible
✅ Correct Answer: Cloud Functions (2nd gen)
50. What is the primary advantage of using Secret Manager over environment variables?
Secure storage and rotation of secrets
Lower latency access
Smaller memory footprint
Better integration with CI/CD
✅ Correct Answer: Secure storage and rotation of secrets
The Google Professional Cloud Developer Pcd certification is a globally recognized credential for IT professionals.
This practice test helps you prepare by covering key topics like hardware, networking, troubleshooting, and security.
Want more practice? Check out our other mock exams: