logo

Crowdly

Browser

Add to Chrome

Refer to the figure: Three Optimization Layers   A system processes data...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Refer to the figure: Three Optimization Layers

 

A system processes database queries using Python, with no indexes, and SELECT * retrieving all 15 columns. Three independent optimisations target different layers:

  • Option A (Language Layer): Rewrite from Python to Go, reducing CPU overhead per query
  • Option B (Data Layer): Add a database index, reducing pages read by 98%
  • Option C (Query Layer): Change SELECT * to 3 specific columns, reducing data volume by 85%

If only one optimisation can be applied, which would have the largest impact on energy consumption, and what is the reasoning?

✅
❌
❌
❌
More questions like this

Want instant access to all verified answers on moodle.polytechnic.bh?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome