Bookmark this page

Quiz: Monitoring APIs with Red Hat 3scale API Management

    Choose the correct answers to the following questions:

  1. 1.

    Which two of the following components are a part of the 3scale API Management monitoring stack?

    A

    Prometheus

    B

    Logstash

    C

    Grafana

    D

    Kibana

  2. 2.

    What one of the following is the primary role of a Prometheus instance?

    A

    Collecting metrics data.

    B

    Collecting service URLs.

    C

    Displaying graphs.

    D

    Managing the Grafana instance.

  3. 3.

    Which one of the following metrics is the default metric within a 3scale API Management product and what does it collect?

    A

    Hits, which counts the number of requests that 3scale API Management processes across all products.

    B

    Hits, which counts the number of requests that reach the product at any path.

    C

    Requests, which counts the number of requests that reach the product at any path.

    D

    Requests, which counts the number of requests that reach a specified backend.

  4. 4.

    Other than creating a mapping rule, which one of the following responses best describes a 3scale API Management feature that enables you to increment a custom metric?

    A

    The Increment Metric policy

    B

    The Custom Metrics policy

    C

    Prometheus and Grafana

    D

    You must create a mapping rule.

  5. 5.

    Which one of the following definitions best describes a Prometheus alert rule?

    A

    Alert rules establish the connection between Prometheus and Grafana.

    B

    Alert rules define how a graph appears within the Prometheus user interface.

    C

    Alert rules are used to trigger configured actions, such as sending an email notification once a certain condition is met.

    D

    Alert rules are not a feature of Prometheus.

  6. 6.

    Your team has a product called my-app in which you would like to track the number of request errors with HTTP status code 500. Which of the following best describes the process you should follow?

    A

    Create a new metric in the product, add the Custom Metrics policy to the product's policy chain, and promote the configuration.

    B

    Create a new metric in the product, add a mapping rule, and promote the configuration.

    C

    Create a new metric in the product and then create an alerting rule in Prometheus.

    D

    The 3scale API Management creates a default Grafana dashboard with this metric already included.

  7. 7.

    For the same scenario as outlined in question 6, when setting up the operands for the Custom Metrics policy, what would be the left and right values, respectively? Consider that left_type = liquid and right_type = plain text.

    A

    left and 500

    B

    500 and {{status}}

    C

    {{status}} and 500

    D

    status and {{500}}

Revision: do240-2.11-40390f6