The correct answer of the lab is only the Parent References pattern. I thought that It was the Parent References and Array of Ancestors.
Array of Ancestor could be applied to the problem of the lab but It’s explained that:
"Array of Ancestors is a pattern that allows us to perform all of the requested queries in an efficient way, however the update operation would not be possible with a single update operation.
One single update operation to change the reporting structure of an employee
To exemplify this scenario let’s promote “Stuart Spencer” and have him report to “Jalpa Maganin”
The reports_to field in “Stuart Spencer” document could be performed with a single update.
However, we would also need to run several updates, to reflect this new structure, on all of “Stuart Spencer” subsequent reports, which requires at least one other update."
Well, what wasn’t clear to me is what does happen when the same scenario used to explain the incorrect application of the Array of Ancestors is applied to the Parent References?
When does Stuart Spencer is moved to report to Jalpa Maganin, Jon Yullin stills to report to Stuart Spencer?
Or better, When does a manager is moved to another position in the tree, your reports still to report to him?