Pregunta de entrevista de Amazon

Threat model, Java Code Review, Standard coding question