The method of minimal geometric deformation (MGD) is used to derive static, strongly gravitating, spherically symmetric, compact stellar distributions. The trace and Weyl anomalies are then employed to probe the MGD in the holographic setup, as a realistic model, playing a prominent role in AdS/CFT.