Soil exhibits spatial heterogeneities resulting from the history of its deposition and aggregation processes that occur in different physical and chemical environments. This inherent or natural variability can be very important in the case of the superficial geotechnical works inducing differential settlements, whose consequences on structural response can be harmful: local failures, cracking in beams or walls, leakage in sewers. Natural variability of soil and uncertainty related to imperfect knowledge in soil properties and/or of concrete or steel of the structure, are the major source of uncertainty in the choice of the design parameters. In this thesis the probabilistic methods in geotechnical engineering, the analytical Winkler model and the coupling of the finite element method with geostatistical approaches were successively used to model the behavior of shallow foundations and buried pipe networks when soil and structure uncertainties are considered in their design.