Custom Machine interview question

Mainly on my knowledge