For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Hot Area:
Suggested Answer:
Box 1: Yes - http://localhost:5000/status : Also requested with GET, this verifies if the api-key used to start the container is valid without causing an endpoint query.
Box 2: Yes - The command saves container and LUIS logs to output mount at C:\output, located on container host
Box 3: Yes - http://localhost:5000/swagger : The container provides a full set of documentation for the endpoints and a Try it out feature. With this feature, you can enter your settings into a web-based HTML form and make the query without having to write any code. After the query returns, an example CURL command is provided to demonstrate the HTTP headers and body format that's required. Reference: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-container-howto
Correct
Logging is not enabled. See :
https://learn.microsoft.com/en-us/azure/ai-services/language-service/text-analytics-for-health/how-to/configure-containers#logging-settings
YNY is the answer.
https://learn.microsoft.com/en-us/azure/cognitive-services/language-service/text-analytics-for-health/how-to/use-containers?tabs=language#validate-that-a-container-is-running
- http://localhost:5000/status
Also requested with GET, this URL verifies if the api-key used to start the container is valid without causing an endpoint query. This request can be used for Kubernetes liveness and readiness probes.
- http://localhost:5000/swagger
The container provides a full set of documentation for the endpoints and a Try it out feature. With this feature, you can enter your settings into a web-based HTML form and make the query without having to write any code. After the query returns, an example CURL command is provided to demonstrate the HTTP headers and body format that's required.
I do not see the right results yet.
1. No: Should be No because per documentation http://localhost:5000/status validates API Key without causing an endpoint query, but the question says "will query the Azure endpoint "
2. Yes: There is a difference between writing and saving the logs. In the former case, the logs will not persist and will live as long as the container runs. Since the question asks about writing the answer is Yes.
3. Yes: Many folks here explained this question well.
Going to http://localhost:5000/status will query the Azure endpoint to verify whether the API key used to start the container is valid.
Yes. Typically, Azure Cognitive Services containers provide a /status endpoint that can be used to check the status of the service, including the validity of the API key. Since the service is mapped to localhost:5000, accessing this URL should provide the status of the containerized service, including the API key's validity.
The container logging provider will write log data.
No (Assuming). This statement is somewhat ambiguous and depends on the configuration of the Docker container and the Azure Cognitive Services container.
Going to http://localhost:5000/swagger will provide the details to access the documentation for the available endpoints.
Yes. It is a common practice for web services and APIs, including those provided by Azure Cognitive Services, to offer a Swagger UI at a /swagger endpoint.
No --> Also requested with GET, this URL verifies if the api-key used to start the container is valid without causing an endpoint query. https://learn.microsoft.com/en-us/azure/ai-services/language-service/text-analytics-for-health/how-to/use-containers?tabs=language#validate-that-a-container-is-running
No -- there isn't any Log location mounted (same link as above)
Yes --> correct, swagger show a full set of documentation for the endpoints
Yes.
Can't see the logger setting being specified in the command, which is mandatory according to this:
https://learn.microsoft.com/es-es/azure/ai-services/language-service/concepts/configure-containers#logging-settings
Agree with you:
- http://localhost:5000/status
"Also requested with GET, this URL verifies if the api-key used to start the container is valid WITHOUT CAUSING AN ENDPOINT QUERY." (According to documentation)
1 and 3, is true: https://learn.microsoft.com/es-es/azure/cognitive-services/language-service/sentiment-opinion-mining/how-to/use-containers#validate-that-a-container-is-running
2, i think, is yes... (by docker settings)
I think the first one is YES
https://learn.microsoft.com/en-us/azure/cognitive-services/language-service/text-analytics-for-health/how-to/use-containers?tabs=language#validate-that-a-container-is-running
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Internal_Koala
Highly Voted 2 years, 4 months agoAlan_CA
3 weeks, 6 days agozellck
Highly Voted 1 year, 6 months agofriendlyvlad
1 month, 1 week agokrzkrzkra
Most Recent 5 months, 4 weeks agonanaw770
7 months, 2 weeks agofunny_penguin
7 months, 2 weeks agovarinder82
9 months, 2 weeks agoevangelist
11 months, 2 weeks agoGvalli
1 year agordemontis
1 year, 2 months agordemontis
1 year, 1 month agoM25
1 year, 4 months agochrillelundmark
1 month ago[Removed]
1 year, 3 months agommaguero
1 year, 7 months agoodisor
1 year, 8 months agoMDawson
1 year, 9 months ago[Removed]
1 year, 3 months ago