CREST Practitioner Security Analyst (CPSA) Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Master the CREST Practitioner Security Analyst Exam. Prepare with quizzes and comprehensive study guides that include tips and explanations. Excel in your certification journey!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which HTTP status code indicates a resource has been moved permanently?

  1. 404

  2. 301

  3. 302

  4. 410

The correct answer is: 301

The HTTP status code that indicates a resource has been moved permanently is 301. This code informs clients and search engines that the requested resource has a new permanent URL, and all future requests should be directed to that new location. This is crucial for maintaining SEO rankings and ensuring that users can always access the resource at its new address. In contrast, a 404 status code signifies that the requested resource was not found on the server, while a 302 status code indicates a temporary redirect, meaning the resource is temporarily located at a different URL but will revert to the original in the future. The 410 status code conveys that the resource is gone and will not return, making it clear that the resource is no longer available at any location. Hence, the 301 status code is specifically designed for situations in which a resource's URL has changed permanently, making it the correct answer in this case.