PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #75
Your company's Google Cloud-deployed, streaming application supports multiple languages. The application development team has asked you how they should support splitting audio and video traffic to dif
The correct answer is A. Rearrange the directory structure, create a URL map and leverage a path rule such as /video/*. Path matcher constraints Path matchers and path rules have the following constraints: A path rule can only include a wildcard character () after a forward slash character (/). For example, /videos/ and /videos/hd/ are valid for path rules, but /videos and /videos/hd are not. Path
Question
Options
- ARearrange the directory structure, create a URL map and leverage a path rule such as /video/*
- BRearrange the directory structure, create DNS hostname entries for video and audio and leverage
- CLeave the directory structure as-is, create a URL map and leverage a path rule such as /[a-
- DLeave the directory structure as-is, create a URL map and leverage a path rule such as /*/video
How the community answered
(24 responses)- A83% (20)
- B4% (1)
- C8% (2)
- D4% (1)
Explanation
Path matcher constraints Path matchers and path rules have the following constraints: A path rule can only include a wildcard character () after a forward slash character (/). For example, /videos/ and /videos/hd/* are valid for path rules, but /videos* and /videos/hd* are not. Path rules do not use regular expression or substring matching. For example, path rules for either /videos/hd or /videos/hd/* do not apply to a URL with the path /video/hd-abcd. However, a path rule for /video/* does apply to that path. https://cloud.google.com/load-balancing/docs/url-map-concepts#pm-constraints
Topics
Community Discussion
No community discussion yet for this question.