Capgemini interview question

How does PCF internally knows when to upscale a service?