exam questions

Exam 1z0-997-20 All Questions

View all questions & answers for the 1z0-997-20 exam

Exam 1z0-997-20 topic 1 question 14 discussion

Actual exam question from Oracle's 1z0-997-20
Question #: 14
Topic #: 1
[All 1z0-997-20 Questions]

You work for a large bank where your main application is a payment processing gateway API. You deployed the application on Oracle Container Engine for
Kubernetes (OKE) and used API Gateway with several policies to control the access of the API endpoint.
However, your customers are complaining about the unavailability of the API endpoint. Upon checking, you noticed that the Gateway URL is throwing Service
Unavailable error. You need to check the backend latency and backend responses when this error started last night.
What should you do to get this data? (Choose the best answer.)

  • A. Check with the application owner and search the log file for the container to get the metrics from the log file.
  • B. Go to Governance Menu and click on Audit to see the Audit log for the API Gateway. Filter it using Start and End date with a 503 response status.
  • C. Go to Developer Services and click on API Gateway. Go to the detail page of the gateway and select Metrics. Change the Start and End time to filter the metrics.
  • D. Go to Monitoring and click on Service Metrics. Choose the Metric Namespace as oci_apigateway. Change the Start and End time accordingly. Add a Dimension and select httpStatusCode: 503. Check the backend latency and backend responses metric.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
fhoyos
Highly Voted 4 years, 6 months ago
D: This Link helps us to understand. https://medium.com/oracledevs/using-oci-monitoring-healthchecks-to-schedule-execution-of-serverless-functions-on-oracle-cloud-ef233f887a5
upvoted 6 times
EaglEyeZ
3 years, 4 months ago
Option D would be correct if all API Gateways of the company in question have issues and you need to diagnose All the API Gateways, for that the OCI Monitoring Service is perfect. but the question is asking to diagnose issues in a single API Gateway. so the easiest way to do that is to watch the default Metrics of the API Gateway located in the API Gateway Details page under the Resources section and click the Metrics. Hence the correct option is C
upvoted 2 times
Uweeck
3 years, 1 month ago
I agree with C but for the reason that the question is actually 'You need to check the backend latency and backend responses when this error started last night'. you can get the data from 'Metric' tab on API Gateway menu. Also you wont get the data is the service is unavailable e.g. adding dimension 'httpStatusCode: 503' from Monitoring menu.
upvoted 1 times
...
...
bilegt
4 years, 2 months ago
there is no oci_apigateway in filtering namespace, that concludes D wrong.
upvoted 1 times
bilegt
4 years, 2 months ago
actually there is oci_apigateway in namespace, sorry! D is correct :D
upvoted 3 times
...
...
...
delampe
Most Recent 3 years, 3 months ago
D is correct : https://docs.oracle.com/en-us/iaas/Content/Monitoring/Tasks/buildingqueries.htm#CreateQuery
upvoted 1 times
...
EaglEyeZ
3 years, 4 months ago
C is the correct option https://docs.oracle.com/en-us/iaas/Content/APIGateway/Reference/apigatewaymetrics.htm To view default metric charts for a single API gateway In the Console, open the navigation menu and click Developer Services. Under API Management, click Gateways. Select the region you are using with API Gateway. Select the compartment containing the API gateway for which you want to view metrics. The Gateways page shows all the API gateways in the compartment you selected. Click the name of the API gateway for which you want to view metrics. Under Resources, click Metrics. The Metrics page displays a chart for each metric that is emitted by the metric namespace for API Gateway. For more information about the emitted metrics, see Available Metrics: oci_apigateway.
upvoted 1 times
...
AJ22
3 years, 4 months ago
I would go with D. C is partialy correct. You cannot directly go to monitoring but observability and Management > Monitoring > Service Metrics. Add a dimensions for 503. So D.
upvoted 1 times
...
SilNilanjan
3 years, 4 months ago
Selected Answer: D
D seems to be the better choice
upvoted 3 times
...
JArafat
3 years, 5 months ago
Ans: C There are nothing called httpStatusCode:503 in Dimension in Service Metric. Rather the available dimensions are: (a) resourceId (b) resourceName (c) resourceTenantId
upvoted 1 times
EaglEyeZ
3 years, 4 months ago
No actually there is the httpstatuscode dimension in the Service Metric. Please see: https://docs.oracle.com/en-us/iaas/Content/APIGateway/Reference/apigatewaymetrics.htm
upvoted 1 times
...
...
ankit89
4 years, 5 months ago
D: is a better choice!
upvoted 2 times
...
ankit89
4 years, 5 months ago
Answer Seems C: read following, API gateway metric shows backend latency https://docs.cloud.oracle.com/en-us/iaas/Content/APIGateway/Reference/apigatewaymetrics.htm#Availabl https://docs.cloud.oracle.com/en-us/iaas/Content/APIGateway/Reference/apigatewaymetrics.htm
upvoted 1 times
adesmaster
4 years, 5 months ago
but you can't filter the 503 error
upvoted 4 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago