CS FundamentalsModerateProduct-company cloud interview
A host has 32 physical cores and the cloud team allows a 4:1 vCPU-to-core overcommit ratio. How many 4-vCPU VMs can be placed on it by CPU, and what is the risk of overcommit?
- A. 8 VMs; no risk
- B. 32 VMs; if many VMs get busy at once they contend for cores, causing CPU steal and slowdowns
- C. 128 VMs; memory is the only limit
- D. 16 VMs; overcommit halves capacity
Correct answer: B. 32 VMs; if many VMs get busy at once they contend for cores, causing CPU steal and slowdowns
32 x 4 = 128 vCPUs, i.e. 32 VMs of 4 vCPUs. Overcommit works because VMs are rarely all busy together; when they are, the hypervisor time-slices cores and guests see 'steal time'.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A retailer runs its systems in its own data centre but automatically moves extra web workload to a public cloud during festive-sale peaks…
- Match each storage type. P: an EC2-style VM's boot disk. Q: millions of user-uploaded images accessed by URL. R: a shared directory…
- In the Richardson maturity model for REST APIs, which feature marks the top level (Level 3)?
- A mobile home screen needs a user's name, the titles of their last 3 orders and their unread-notification count. The REST API needs 3…
- An API accepts a video for transcoding, which takes several minutes. What is the most appropriate immediate response?
- What is the difference between the HTTP headers Cache-Control: no-cache and Cache-Control: no-store?