Multiple choice technology databases

Which of the following command options of aspnet_regiis is used to encryption config sections?

  1. –e

  2. –pe

  3. -enc

  4. All of the Above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The -pe (Protect Encrypt) option of aspnet_regiis is specifically designed to encrypt configuration sections like connectionStrings or appSettings in Web.config. The -e option is for export, -enc is not a valid aspnet_regiis command, and 'All of the Above' is incorrect since only -pe works for encryption.