Question: Which choice is not a valid Rails route?

  1. route "products/index", to: "products/index", via: :get
  2. match "products/index", to: "products#index", via: :get
  3. root "products/index"
  4. get "products/index"

Answer: The correct answer of the above question is Option A:route "products/index", to: "products/index", via: :get