Question: Fill in the blank: Sitemaps are _______ files that provide search engines information about the structure of your site.
- HTML
- JSON-LD
- JavaScript
- XML
Explanation
HubSpot’s sitemap documentation explicitly refers to a sitemap as an XML file and tells users they can open it by viewing the domain’s /sitemap.xml file. HubSpot+1 HubSpot also says sitemaps help search engine crawlers determine the structure of a site so they can crawl it more intelligently. HubSpot Because the file format is defined as XML, that is the correct term for the blank. HubSpot+1 This is a site-structure file format, not a scripting format or a structured data format. HubSpot+1
Why the other options are incorrect
HTML is incorrect because HubSpot identifies the sitemap as an XML file, not an HTML page. HubSpot+1
JSON-LD is incorrect because that format is used for structured data, while HubSpot’s sitemap file is specifically /sitemap.xml. HubSpot+1
JavaScript is incorrect because a sitemap is a crawler-readable XML file, not executable client-side code. HubSpot+1
Source for verification
https://knowledge.hubspot.com/domains-and-urls/view-and-edit-a-hubspot-hosted-domain-sitemap
The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "HubSpot CMS for Developers II" page.
