Skip to main content

Associate Cloud Engineer practice question · Planning and implementing a cloud solution

An application repeatedly queries a Cloud SQL for MySQL instance for the same product catalog entries, which change only…

An application repeatedly queries a Cloud SQL for MySQL instance for the same product catalog entries, which change only a few times a day. These reads are driving up CPU on the instance. What should the team plan to add so that most of these reads no longer reach the database?

  • AA Memorystore instance that the application checks for the entries before querying Cloud SQL
  • BThe high availability (regional) configuration so a standby instance shares the read load
  • CAutomatic storage increase so the instance can grow its disk as query volume rises
  • DThe Cloud SQL Auth Proxy in front of the instance to reuse connections for repeated queries
Show the answer and explanation

Correct answer: A) A Memorystore instance that the application checks for the entries before querying Cloud SQL

Putting a Memorystore cache in front of Cloud SQL lets hot, rarely changing data be served from memory, which offloads repeated reads from the database. HA standbys, storage auto-increase and the Auth Proxy do not reduce read load.

Why each option is right or wrong

  • A) Correct. A cache-aside layer in Memorystore serves frequently read, rarely changing data from memory with sub-millisecond access. Most requests never reach Cloud SQL, which reduces load on the instance.
  • B) Incorrect. The HA standby exists for failover. It does not serve read traffic, so it does not reduce read load on the primary.
  • C) Incorrect. Automatic storage increase adds disk capacity as data grows. It does nothing to reduce the number of read queries or the CPU they use.
  • D) Incorrect. The Cloud SQL Auth Proxy provides secure, IAM-authorized connections. It does not cache query results, so every read still runs on the database.
Exam domain
Planning and implementing a cloud solution · ~30% of Associate Cloud Engineer
Question type
Multiple choice (one answer)

Practise the full Associate Cloud Engineer exam

This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.