Question: A ____________ status code indicates a temporary redirect.
- 200
- 301
- 302
- 404
Explanation
A 302 status code represents a temporary redirect in HubSpot’s redirect terminology. HubSpot defines Temporary (302) as redirecting one page to another URL on a short-term basis. It is typically used when the original URL is expected to return, such as during maintenance or a temporary site change. That makes it different from 301, which signals a lasting move to a new URL. HubSpot+1
Why the other options are incorrect
200 indicates a successful response, not a redirect status.
301 indicates a permanent redirect, not a temporary one. HubSpot+1
404 indicates that the requested resource was not found, not that it was redirected.
Source for verification
https://knowledge.hubspot.com/domains-and-urls/create-and-manage-url-redirects
https://developers.hubspot.com/docs/api-reference/latest/cms/url-redirects/create-url-redirect
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.
