70-487 Free Dumps Study Materials
Question 2: Note: This question is part of a series of questions that present the same scenario. Each
question in the series
contains a unique solution that might meet the stated goals. Some question sets might have more
than one
correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these
questions
will not appear in the review screen.
You develop a REST API that uses Node.js. The API will store data in Azure Cosmos DB. You plan to
deploy
the API to a new Azure App Services Web App. You create a new Web App by using the Azure portal.
The API must be deployed by using SFTP.
You need to provide the proper deployment credentials to deploy the API.
Solution: Download the. PublishSettings file and enter the username and password located in the file.
Does the solution meet the goal?
A. No
B. Yes
Correct Answer: B
Explanation
Example:
# Get FTP publishing profile and query for publish URL and credentials
creds=($(az webapp deployment list-publishing-profiles --name $webappname --resource-group
myResourceGroup \
--query "[?contains(publishMethod, 'FTP')].[publishUrl,userName,userPWD]" --output tsv)) --query
"[?contains(publishMethod, 'FTP')].[publishUrl,userName,userPWD]" --output tsv))
References: https://docs.microsoft.com/en-us/azure/app-service/scripts/app-service-cli-deploy-ftp