The correct option is
A a collection of two or more connected computers sharing certain resources in a relatively small geographic location, often in the same building
A local area network (LAN) is a collection of devices connected together in one physical location, such as a building, office, or home.
In other words It is a collection of two or more connected computers sharing certain resources in a relatively small geographic location, often in the same building.
Hence option A is correct.