Table of Contents
Question
Your company has recently deployed a new web application that uses Oracle Functions. Your manager instructs you to implement monitoring metrics to manage your systems more effectively. You know that Oracle Functions automatically monitors functions on your behalf and reports metrics through Service Metrics. Which TWO metrics are collected and made available by this feature? (Choose two.)
A. Length of time a function runs
B. Number of times a function is invoked
C. Amount of CPU used by a function
D. Number of concurrent connections
E. Number of times a function is removed
Answer
A. Length of time a function runs
B. Number of times a function is invoked
Explanation
The Oracle Functions feature automatically monitors functions and reports metrics through Service Metrics. The two metrics collected and made available by this feature are:
A. Length of time a function runs: This metric provides information about the duration of each function execution, helping to analyze performance and identify any bottlenecks or optimizations needed.
B. Number of times a function is invoked: This metric tracks the total count of function invocations, which helps measure the usage and popularity of the functions. It can be used to assess the load on the system and plan for scaling if necessary.
Explanation:
1. Oracle Functions:
- Oracle Functions is a serverless compute platform provided by Oracle Cloud Infrastructure (OCI) that allows you to run code in response to events without managing the underlying infrastructure.
2. Service Metrics:
- Service Metrics is a monitoring feature provided by Oracle Cloud Infrastructure that collects and displays metrics for various services, including Oracle Functions.
3. Metrics collected by Oracle Functions:
- Length of time a function runs: This metric tracks the execution time of each function invocation. It provides insights into the performance of individual functions and can be used to identify any performance issues or optimize the code as needed.
- Number of times a function is invoked: This metric counts the total number of function invocations. It helps measure the usage and popularity of functions, allowing you to understand the load on the system and plan for scaling or resource allocation accordingly.
4. Other metrics not collected:
- Amount of CPU used by a function: This metric is not directly collected by the Oracle Functions feature. However, you can monitor CPU usage indirectly by leveraging other OCI monitoring capabilities, such as monitoring the compute instances where the functions are executed.
- Number of concurrent connections: This metric is not specifically collected by the Oracle Functions feature. It depends on the underlying infrastructure and the specific implementation of the functions.
- Number of times a function is removed: This metric is not collected by the Oracle Functions feature. It pertains to the lifecycle management of functions and is not considered a metric for monitoring their runtime behavior.
Therefore, the two metrics collected and made available by the Oracle Functions feature through Service Metrics are the length of time a function runs and the number of times a function is invoked.
Reference
- Function Metrics (oracle.com)
- Overview of Functions (oracle.com)
- Functions as a Service: Evolution, Use Cases, and Getting Started (oracle.com)
- Cloud Functions | Oracle
Oracle Cloud Infrastructure 2022 Architect Professional 1z0-997-22 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Oracle Cloud Infrastructure 2022 Architect Professional 1z0-997-22 exam and earn Oracle Cloud Infrastructure 2022 Architect Professional 1z0-997-22 certification.