As a part of a migration exercise for an existing on-premises application to Oracle Cloud
Infrastructure (OCI), you are required to transfer a 7 TB file to OCI Object Storage. You have
decided to upload it using the multipart upload functionality of Object Storage.
Which two statements are true? (Choose two.)
A large E-commerce company is looking to run seasonal workloads in Oracle Cloud
Infrastructure. The Oracle database used by their E-commerce application can use up to 52
cores at peak workloads. Due to the seasonal nature of the business, the database will be not
be used for 10 months in a year and can also be shut down during non-business hours.
Deploy a Serverless Function and Access Using an API Gateway
Deployment in OCI
Scenario
You have joined ACME as their new Cloud Solutions Architect. Your organization wants to verify if
they can execute their microservices deployed as serverless functions on another cloud provider
using Oracle Functions in OCI.
Preconfigured
To complete this requirement, you are provided with the following:
• Access to an OCI Tenancy, an assigned compartment, and OCI credentials.
• Access to Cloud Shell to execute the Fn CLI and Docker commands.
• Code for a sample Python function, ExamFunction-main.zip.
• Permissions to perform only the tasks within the challenge.
Note: Throughout your exam, ensure to use assigned Compartment 99248134-
C01 and Region us-ashburn-1
Complete the following tasks in the provisioned OCI environment:
1. Set up the context for Fn CLI and deploy the python function to exam-app.
a. Set up the Fn CLI context in Cloud Shell
i. Set your region and your assigned compartment
ii. Set your registry [repo-name-prefix], which must
be: [region_key].ocir.io/[tenancy-name]/{username}
For example, if your tenancy is ocuocictrng19, user name is 99346163-
lab.user02 and region is US East Ashburn, your registry must
be iad.ocir.io/ocuocictrng19/99346163-lab.user02.
Your username is 99248134-lab.user01
Your tenancy is ocuocictrng16
b. Login to the registry using docker login, which will require you to generate and use
an Auth Token
c. Use wget
upload the zip archive containing the Python function files to Cloud Shell.
d. Extract the files by using the unzip utility and navigate to the python sub-folder
e. Deploy the python function to the exam-app using an fn command
f. Invoke the function at least 2 times using an fn command