The present invention relates to a nutritional composition comprising at least one fucosylated oligosaccharide and at least one N-acetylated oligosaccharide in a particular ratio, for use in preventing and/or treating gastrointestinal infections and/or gastrointestinal inflammations in an infant or a young child.