PrepAway - Latest Free Exam Questions & Answers

Which two attributes should you add to the AppDb connection string entry in the Web.staging.config file?

You are designing the deployment strategy for an ASP.NET Web application. The database
configuration string varies depending on the target environment. You have the following
requirements: • Deploy the application by using Web Deploy. • Replace the connection
string named AppDb with the appropriate value for each environment. You need to
recommend an approach for updating the AppDb connection string when deploying the
application to the staging environment. Which two attributes should you add to the AppDb
connection string entry in the Web.staging.config file? (Each correct answer presents part of
the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
xdt:Transform with the value “XPath(configuration/connectionStrings[@name=’AppDb’])”

B.
xdt:Locator with the value “Replace”

C.
xdt:Transform with the value “Replace”

D.
xdt:Locator with the value “XPath(configuration/connectionStrings[@name=lAppDb1])”


Leave a Reply