
Answer-first summary for fast verification
Answer: Use Compute Engine instances with M1 machine type.
The correct answer is **D** because the M1 machine type is designed for memory-intensive workloads, providing a high memory-to-CPU ratio. This makes it ideal for applications requiring the full database to be stored in memory for fast access and minimal latency. - **A** is incorrect as GPUs are for tasks requiring heavy parallel computing, not for improving RAM performance. - **B** is incorrect because local SSDs, while offering high IOPS and low latency, are ephemeral and do not persist data after instance shutdown. - **C** is incorrect since preemptible instances can shut down at any time, risking data loss for applications needing constant memory access. For more details, refer to [GCP's machine types documentation](https://cloud.google.com/compute/docs/machine-types#m1_machine_types).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
When migrating an on-premise customer-facing application to GCP that stores its full database in-memory to minimize latency, how should you configure the resources on GCP?
A
Use Compute Engine instances with GPUs attached.
B
Use Compute Engine instances with local SSDs attached.
C
Use preemptible Compute Engine instances.
D
Use Compute Engine instances with M1 machine type.
No comments yet.