JNCIP-SEC: Juniper Networks Certified Professional – Security (2021) — Question 18
You need to add all of the sites in the domain example.com to urllist2. You decide to use wildcards to account for any changes made to the domain in the future.
In this scenario, which two commands would you use to meet this requirement? (Choose two.)
Answer options
- A. set custom-objects url-pattern urllist2 value http://*.example.com
- B. set custom-objects url-pattern urllist2 value http://*example.com
- C. set custom-objects url-pattern urllist2 value http://*.example.???
- D. set custom-objects url-pattern urllist2 value http://*.example.*
Correct answer: A, C
Explanation
The correct commands, A and C, use wildcards appropriately to match any subdomain and variations in the domain. Option A correctly captures all subdomains of example.com, while option C allows for any extension after 'example.'. Options B and D are incorrect because they either do not properly format the wildcard usage or are too broad.