This was Sir Ridley's version of Blade Runners' voight kampff test.
More background about Peter Weyland, Weyland corp and how they operate can be found in these discussion about the various versions of the prometheus scripts:
Jon Spaihts’ Alien Prequel
"As it turns out, Weyland already knows everything Watts and Holloway are telling him, thanks to elements within his company spying on the two scientists. But Weyland’s not entirely egotistical or greedy. Despite having already obtained and confirmed the veracity of their research, he is charitable enough to offer them a contract and a claim on any archaeological finds; bar any alien technology they might uncover. Holloway signs, and Weyland informs him that David will accompany the expedition as his “eyes and ears” – as will Vickers, much to her own shock."
Damon Lindelof’s Prometheus
Weyland Industries Timeline
Peter Weyland