GCP Technology & Digital Tools 5 — Questions and Answers
Question 1: What is the purpose of a VPC (Virtual Private Cloud) in GCP?
- Providing managed database services
- Creating isolated, private network environments for GCP resources (Correct answer)
- Storing objects in cloud storage
- Running serverless functions
Correct answer: Creating isolated, private network environments for GCP resources
A VPC provides a logically isolated section of the Google Cloud network where you can define your own IP address ranges, subnets, and routing.
Question 2: Which GCP service is designed for storing and querying large volumes of semi-structured time-series or IoT data?
- Cloud SQL
- BigQuery
- Bigtable (Correct answer)
- Firestore
Correct answer: Bigtable
Bigtable is a fully managed, scalable NoSQL database service designed for high-throughput workloads like time-series, IoT, and analytics data.
Question 3: What is the key difference between Cloud Storage Nearline and Coldline storage classes?
- Nearline has no retrieval cost; Coldline does
- Nearline is for data accessed less than once a month; Coldline for less than once a quarter (Correct answer)
- Coldline is faster to retrieve than Nearline
- Nearline stores only structured data; Coldline stores unstructured
Correct answer: Nearline is for data accessed less than once a month; Coldline for less than once a quarter
Nearline is optimized for data accessed about once a month, while Coldline is for data accessed at most once every 90 days, with lower storage but higher retrieval costs.
Question 4: Which GCP feature allows you to automatically scale Compute Engine instances based on load?
- Load Balancing
- Managed Instance Groups with Autoscaling (Correct answer)
- Cloud Scheduler
- Instance Templates
Correct answer: Managed Instance Groups with Autoscaling
Managed Instance Groups (MIGs) with autoscaling automatically add or remove VM instances based on metrics like CPU utilization or request load.
Question 5: What is the purpose of Cloud KMS (Key Management Service) in GCP?
- Managing Kubernetes clusters
- Creating and managing cryptographic keys for data encryption (Correct answer)
- Storing application configuration
- Monitoring API usage
Correct answer: Creating and managing cryptographic keys for data encryption
Cloud KMS is a cloud-hosted key management service that lets you manage cryptographic keys for your cloud services the same way you do on-premises.
Question 6: Which GCP tool enables you to define, deploy, and manage APIs, including authentication and traffic management?
- Cloud Endpoints
- API Gateway
- Both Cloud Endpoints and API Gateway (Correct answer)
- Cloud Run
Correct answer: Both Cloud Endpoints and API Gateway
Both Cloud Endpoints and API Gateway are GCP tools for managing APIs; Endpoints uses Extensible Service Proxy while API Gateway is fully managed and serverless.
Question 7: What does IAM (Identity and Access Management) enforce in Google Cloud?
- Network firewall rules between VPCs
- Who (identity) can do what (role) on which resource (Correct answer)
- Data encryption policies for Cloud Storage
- Uptime SLAs for GCP services
Correct answer: Who (identity) can do what (role) on which resource
Cloud IAM enforces authorization by defining which principals have which permissions on which GCP resources through a policy model.
What is the purpose of a VPC (Virtual Private Cloud) in GCP?