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)
Related Associate Cloud Engineer questions
- A team stores log archives in a Cloud Storage bucket. The logs are read often in the first month, rarely after 90 days…Planning and implementing a cloud solution
- A company runs a Cloud SQL for PostgreSQL instance in us-central1. For disaster recovery, the team needs a copy of the…Planning and implementing a cloud solution
- A batch analytics job on Compute Engine needs scratch space with very high IOPS and the lowest possible latency for its…Planning and implementing a cloud solution
- A backend service accepts only HTTPS on port 443. The application exposes a /healthz path that returns HTTP 200 only…Planning and implementing a cloud solution
All 60 free Associate Cloud Engineer questions by domain · 15 sample questions on one page
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.