Google Associate Cloud Engineer Compute Engine Operations Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 14 | Questions: 20 | Updated: Aug 15, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. Which GCP service allows you to automatically scale Compute Engine instances based on demand?

Explanation

Instance Groups with autoscaling can automatically adjust the number of Compute Engine virtual machine instances in a managed group as demand changes. Autoscaling policies use signals such as CPU utilization or load-balancing capacity to add instances when more capacity is needed and remove them when demand drops, helping maintain performance while controlling costs.

Submit
Please wait...
About This Quiz
Google Associate Cloud Engineer Compute Engine Operations Quiz - Quiz

This quiz assesses your understanding of Google Compute Engine operations, a core skill for the Associate Cloud Engineer certification. It covers VM instance management, networking, storage integration, monitoring, and troubleshooting in GCP. Test your knowledge of instance creation, lifecycle management, firewall rules, and operational best practices to prepare for real-world... see morecloud engineering roles. see less

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. What is the primary purpose of a Google Compute Engine instance template?

Explanation

An instance template stores the settings for a virtual machine, such as its machine type, boot disk, and network configuration. You can reuse it to create consistent VM instances, including when deploying managed instance groups.

Submit

3. What is the purpose of gcloud compute in the Google Cloud SDK?

Explanation

`gcloud compute` is the command-line toolset for creating, configuring, and managing Google Compute Engine resources, such as virtual machine instances, disks, and networks.

Submit

4. What is the purpose of a service account in Google Cloud?

Explanation

A service account provides an identity for applications, virtual machines, and other services. It lets them authenticate to Google Cloud APIs and access resources according to the permissions granted to that account.

Submit

5. Which metric is commonly monitored to ensure a Compute Engine instance is healthy?

Explanation

CPU utilization and memory usage indicate how heavily a Compute Engine instance’s resources are being used. Monitoring these metrics helps identify overload, insufficient capacity, or unusual behavior that could affect the instance’s performance and health.

Submit

6. What does a machine type in Compute Engine define?

Explanation

In Compute Engine, a machine type specifies the virtual hardware resources assigned to a VM, including its number of virtual CPUs, amount of memory, and any GPU capability. These settings determine the instance’s compute capacity and help match workloads to suitable performance levels; they do not select its operating system, region, or disk encryption method.

Submit

7. When using Cloud NAT with Compute Engine instances, what is translated?

Explanation

Cloud NAT enables Compute Engine instances without external IP addresses to reach the internet by translating their private source IP addresses into public IP addresses for outbound traffic. It does not translate DNS names, change HTTP to HTTPS, or alter instance names.

Submit

8. In Compute Engine, which feature allows you to define custom metadata that can be accessed from inside the VM?

Explanation

Instance metadata lets you define custom key-value pairs for a Compute Engine VM. Software running inside the VM can retrieve these values through the metadata server, making them useful for configuration and startup scripts. Cloud Monitoring labels, network tags, and disk encryption settings serve different purposes.

Submit

9. To restrict incoming traffic to a Compute Engine instance on port 22, which resource should you modify?

Explanation

VPC firewall rules control network traffic entering Compute Engine instances. Create an ingress rule that allows TCP traffic on port 22, ideally limited to trusted source IP ranges, to enable SSH access while restricting other incoming traffic.

Submit

10. Which IP address type in Compute Engine is automatically assigned and may change after instance restart?

Explanation

An ephemeral external IP is allocated automatically from Google Cloud’s available address pool and is not reserved for the instance. It can be released when the instance is stopped and a different address assigned when it starts again, unlike a static external IP, which remains reserved until you release it.

Submit

11. What happens when you create a snapshot of a persistent disk in Compute Engine?

Explanation

A snapshot preserves the disk’s data at a specific point in time, allowing it to be restored later or used to create another disk. Creating one does not automatically stop the instance, change its machine type, or encrypt the disk.

Submit

12. You need to securely store credentials for your Compute Engine instance. Which service should you use?

Explanation

Cloud Secret Manager is designed to securely store, manage, and access sensitive values such as passwords, API keys, and certificates. It encrypts secrets at rest and in transit and lets you control access through IAM, unlike buckets, instance metadata, or startup scripts, which are not intended as secure credential stores.

Submit

13. In Compute Engine, what does a subnet define?

Explanation

A subnet divides a VPC network into smaller IP address ranges within a specific region. It provides a regional network segment for organizing and connecting resources, while remaining part of the broader VPC.

Submit

14. Which GCP service provides centralized logging for Compute Engine instances?

Explanation

Cloud Logging collects, stores, and lets you search and analyze logs from Compute Engine instances and other Google Cloud services in one place. Cloud Trace, Cloud Profiler, and Cloud Debugger focus on distributed tracing, performance profiling, and debugging, respectively.

Submit

15. Which firewall rule direction allows traffic from the internet to your Compute Engine instance?

Explanation

Ingress rules control traffic entering a Compute Engine instance from external sources, including the internet. Egress rules control traffic leaving the instance.

Submit

16. When you stop a Compute Engine instance, what happens to the persistent disk data?

Explanation

Persistent disk data is stored independently of the Compute Engine instance’s running state. Stopping the instance does not delete the data, so it remains available when the instance starts again.

Submit

17. What is the primary benefit of using preemptible instances in Compute Engine?

Explanation

Preemptible instances are offered at a lower price than standard instances, making them useful for reducing compute costs. Because Google Cloud can stop them with little notice, they’re best suited to fault-tolerant workloads that can handle interruptions or restart elsewhere.

Submit

18. You want to attach an additional persistent disk to a running instance. Is this possible without stopping the instance?

Explanation

Persistent disks can be attached to a running instance without stopping it. The disk must be in the same zone as the instance, and the operating system may need to recognize and mount it before it can be used.

Submit

19. Which startup script in Compute Engine runs as the root user during instance boot?

Explanation

The metadata startup script is supplied through the instance’s metadata and runs automatically during boot. On Compute Engine Linux instances, it executes with root privileges, allowing it to install software, configure services, or perform other system-level setup tasks.

Submit

20. You need to connect two VPC networks in different GCP projects. Which service should you use?

Explanation

Cloud VPN can connect VPC networks in separate GCP projects by creating an encrypted IPsec tunnel between their gateways. Configure routes on both sides so traffic can pass securely between the networks.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which GCP service allows you to automatically scale Compute Engine...
What is the primary purpose of a Google Compute Engine instance...
What is the purpose of gcloud compute in the Google Cloud SDK?
What is the purpose of a service account in Google Cloud?
Which metric is commonly monitored to ensure a Compute Engine instance...
What does a machine type in Compute Engine define?
When using Cloud NAT with Compute Engine instances, what is...
In Compute Engine, which feature allows you to define custom metadata...
To restrict incoming traffic to a Compute Engine instance on port 22,...
Which IP address type in Compute Engine is automatically assigned and...
What happens when you create a snapshot of a persistent disk in...
You need to securely store credentials for your Compute Engine...
In Compute Engine, what does a subnet define?
Which GCP service provides centralized logging for Compute Engine...
Which firewall rule direction allows traffic from the internet to your...
When you stop a Compute Engine instance, what happens to the...
What is the primary benefit of using preemptible instances in Compute...
You want to attach an additional persistent disk to a running...
Which startup script in Compute Engine runs as the root user during...
You need to connect two VPC networks in different GCP projects. Which...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!