A tester's robots.txt request returns Disallow: /admin/ and the line Sitemap: https://app.example.com/maps/index-2024.xml. A request to /sitemap.xml returns 404. What should the tester do next to inventory the site's pages?
Show the answer
Correct answerD. Fetch the declared sitemap index and parse its child sitemaps
AWhy not this: Guessing filenames is noisy and slow when robots.txt already states the exact sitemap URL.
BWhy not this: A 404 at the default path only shows the file isn't there; robots.txt already declares a sitemap at another location.
CWhy not this: Link crawling misses pages not linked from the home page, which a sitemap often lists.
DWhy this is right: The Sitemap directive discloses the real location; the index and its child sitemaps list the site's pages.
A Sitemap directive in robots.txt gives the sitemap's actual location, which need not be /sitemap.xml. Fetching that index and its child sitemaps lists the pages the owner wants indexed. Brute-forcing filenames is slower and unnecessary when the location is already disclosed.