Tag Archives: function

You are developing a serverless application with Oracle Functions. Your function needs to store state

You are developing a serverless application with Oracle Functions. Your function needs to store state in a database. Your corporate security Standards mandate encryption of secret information like database passwords. As a function developer, which approach should you follow to satisfy this security requirement? A. Use the Oracle Cloud Infrastructure Console and enter the password in the function… Read More »

Which is NOT a valid option to execute a function deployed on Oracle Functions?

Which is NOT a valid option to execute a function deployed on Oracle Functions? A. Send a signed HTTP requests to the function’s invoke endpoint B. Invoke from Oracle Cloud Infrastructure CLI C. Invoke from Docker CLI D. Trigger by an event in Oracle Cloud Infrastructure Events service E. Invoke from Fn Project CLI Correct Answer: C Explanation… Read More »

What is one of the differences between a microservice and a serverless function?

What is one of the differences between a microservice and a serverless function? A. Microservices are used for long running operations and serverless functions for short running operations. B. Microservices always use a data store and serverless functions never use a data store. C. Microservices are stateless and serverless functions are stateful. D. Microservices are triggered by events… Read More »

You encounter an unexpected error when invoking the Oracle Function named "myfunction" in application

You encounter an unexpected error when invoking the Oracle Function named “myfunction” in application “myapp”. Which can you use to get more information on the error? A. fn –debug invoke myapp myfunction B. DEBOG=1 fn invoke myapp myfunction C. fn –verbose invoke myapp myfunction D. Call Oracle support with your error message Correct Answer: B Troubleshooting Oracle FunctionsIf… Read More »

You are developing a serverless applicationwith Oracle Functions. You have created a function in compartment

You are developing a serverless applicationwith Oracle Functions. You have created a function in compartment named prod. When you try to invoke your function you get the following error.Errorinvokingfunction.status:502message:dhcp options ocid1.dhcpoptions.oc1.phx.aaaaaaaac…doesnot existorOracleFunctionsisnotauthorized touseit How can you resolve this error? A. Create a policy:Allow function-family to use virtual-network-family in compartmentprod B. Create a policy:Allow any-user to manage function-family and… Read More »

What function does VXLAN perform in a Cisco SD-Access deployment?

A. policy plane forwarding B. control plane forwarding C. data plane forwarding D. systems management and orchestration Answer: Option C. Explanation:  No answer description available for this question Show AnswerDiscussion The post What function does VXLAN perform in a Cisco SD-Access deployment? appeared first on Majanto.

Which line must be added in the Python function to return the JSON object {“cat_9k”: “FXS1932Q2SE”}?

A. return (json.dumps({d[‘hostname’]: dfserialNumber’] for d in json.loads(testJsonX’response’]})) B. return (json.dumps({for d in json.loads(testjson)[‘respcnse’]: d[‘hostname’]: dfserialNumber’]})) C. return (json.loads({d[‘hostname’]: d[‘serialNumber’] for c in json.dumps(test_json)[‘response’})) D. return (json.loads({for d in json.dumps(testjson)[‘respcnse’]: d[‘hostname’]: dfserialNumber’]})) Answer: Option D. Explanation:  No answer description available for this question Show AnswerDiscussion The post Which line must be added in the Python function to return… Read More »

What is the function of a fabric border node in a Cisco SD-Access environment?

A. To collect traffic flow information toward external networks. B. To connect the Cisco SD-Access fabric to another fabric or external Layer 3 networks. C. To attach and register clients to the fabric. D. To handle an ordered list of IP addresses and locations for endpoints in the fabric. Answer: Option B. Explanation:  No answer description available for… Read More »

What is the function of a VTEP in VXLAN?

A. provide the routing underlay and overlay for VXLAN headers B. dynamically discover the location of end hosts in a VXLAN fabric C. encapsulate and de-encapsulate traffic into and out of the VXLAN fabric D. statically point to end host locations of the VXLAN fabric Answer: Option C. Explanation:  No answer description available for this question Show AnswerDiscussion… Read More »

Which function does a fabric edge node perform in an SD-Access deployment?

A. Connects endpoints to the fabric and forwards their traffic. B. Encapsulates end-user data traffic into LISP. C. Connects the SD-Access fabric to another fabric or external Layer 3 networks. D. Provides reachability between border nodes in the fabric underlay. Answer: Option A. Explanation:  No answer description available for this question Show AnswerDiscussion The post Which function does… Read More »