Microsoft
70-513 · Question #74
70-513 Question #74: Real Exam Question with Answer & Explanation
The correct answer is B. aspnet_regiis -pe "connectionStrings" -app "/SecureApp" D. aspnet_regiis -pa "NetFrameworkConfigurationKey" "MyDomain\WebServiceAccount". aspnet_regiis -pe section Encrypts the specified configuration section. This argument takes the following optional modifiers: -prov provider Specifies the encryption provider to use. -app virtualPath Specifies that encryption should occur at the level of the included path. -locat
Question
You develop an ASP.NET web application that is hosted in the virtual directory named SecureApp. The web application uses the ASP.NET membership provider. The application pool for the website uses the dedicated domain account named MyDomain\WebServiceAccount. The web.config file contains the connectionStrings element. You need to secure the connectionStrings element for the web application. Which of the following two commands must you run at a command prompt? (Each correct answer presents part of the solution. Choose two.)
Options
- Aaspnet_regiis -pe "connectionStrings" -app "MyDomain\WebServiceAccount"
- Baspnet_regiis -pe "connectionStrings" -app "/SecureApp"
- Caspnet_regsql -pa "NetFrameworkConfigurationKey" "MyDomain\WebServiceAccount"
- Daspnet_regiis -pa "NetFrameworkConfigurationKey" "MyDomain\WebServiceAccount"
Explanation
- aspnet_regiis -pe section Encrypts the specified configuration section. This argument takes the following optional modifiers: -prov provider Specifies the encryption provider to use. -app virtualPath Specifies that encryption should occur at the level of the included path. -location subPath Specifies the subdirectory to encrypt. -pkm Specifies that the Machine.config file should be encrypted instead of the Web.config file - Before ASP.NET can decrypt encrypted information in the Web.config file, the identity of your ASP.NET application must have read access to the encryption key that is used to encrypt and decrypt the encrypted sections. The RSA key container that is used by the default RsaProtectedConfigurationProvider provider is named "NetFrameworkConfigurationKey". - aspnet_regiis -pa container account Grants permission for the specified user or group account to access the specified key container. This argument takes the following optional modifiers: -pku Substitutes a user-specified container for the default machine container. -csp provider Specifies the container provider to use. -full Specifies that full access should be added, rather than the default read-only access. Not C: The ASP.NET SQL Server Registration tool is used to create a Microsoft SQL Server database for use by the SQL Server providers in ASP.NET, or to add or remove options from an existing database.
Community Discussion
No community discussion yet for this question.