A genomics team runs an analysis that loads a 400 GB reference dataset entirely into memory and then makes many small passes over it. Processor usage stays moderate throughout and there is very little disk activity once the data is loaded. Which EC2 instance family should they start from?

AWS Certified Cloud Practitioner (CLF-C02), objective 3. Cloud technology and services medium

Machine-checked — no person has signed for it. This question was read against the source cited below by an automated pass, which found no contradiction. That is a weaker claim than it sounds: the same kind of process wrote the question, so it can confirm its own mistake.

Treat it as a good draft rather than as settled fact, and read the source below before you rely on it. It is not used in mock exams here — only questions a person has signed for are.

The options

Correct Memory optimized

Correct. The resource that runs out first is RAM, and memory optimized families give the most memory per instance and per vCPU. That is exactly what a large in-memory working set needs.

Not correct Compute optimized

Wrong. Compute optimized instances give a high ratio of vCPU to memory for processor-bound work. Here you would hit the memory ceiling long before you used the processors you were paying for.

Not correct Storage optimized

Wrong. Storage optimized families exist for very high local disk throughput and IOPS — large sequential scans, or databases reading from local NVMe. This workload touches the disk once and then works out of RAM.

Not correct Accelerated computing

Wrong on the evidence given. GPU and other accelerator instances suit massively parallel maths such as model training or rendering. Nothing here says the algorithm can use an accelerator, and these are the most expensive instances to guess with.

Why

Choose the instance family by the resource that becomes the bottleneck, then choose the size within that family. General purpose is balanced and the sensible default; compute optimized favours processor-heavy work; memory optimized favours large in-memory datasets, caches and big relational databases; storage optimized favours local disk throughput; accelerated computing adds GPUs or purpose-built chips. Getting the family right matters more than getting the size right, because the size can be changed later in a stop and start.

Where this comes from

Cited
AWS exam guide task statement 3.3

Practise this

Reading one question is not practice. The trainer will draw a set from objective 3 and space the ones you get wrong.

Practise AWS Certified Cloud Practitioner (CLF-C02)

More questions on this objective

All questions on Cloud technology and services