Prepare for the Oracle Cloud Infrastructure 2023 Architect Professional exam with our extensive collection of questions and answers. These practice Q&A are updated according to the latest syllabus, providing you with the tools needed to review and test your knowledge.
QA4Exam focus on the latest syllabus and exam objectives, our practice Q&A are designed to help you identify key topics and solidify your understanding. By focusing on the core curriculum, These Questions & Answers helps you cover all the essential topics, ensuring you're well-prepared for every section of the exam. Each question comes with a detailed explanation, offering valuable insights and helping you to learn from your mistakes. Whether you're looking to assess your progress or dive deeper into complex topics, our updated Q&A will provide the support you need to confidently approach the Oracle 1Z0-997-23 exam and achieve success.
Your company needs to migrate a business critical application from your data center to
Oracle Cloud Infrastructure (OCI). The application runs on Oracle * Deploy Virtual Machine RAC
DB system on OCI and use the Oracle Database Backup module with RMAN to migrate the
data from customer on-premises to OCI. The application server is WebLogic server running on
multiple 4-core servers and the database is deployed as an Oracle Database Enterprise Edition
RAC database on 2 servers (4-cores each). Which method of database migration should you
choose so that the application has minimal impact? (Choose the best answer.)
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 https://objectstorage.us-ashburn1.oraclecloud.com/n/ocuocictrng5/b/PBT_Storage/o/ExamFunction-main.zipto
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
To complete the task of setting up the context for Fn CLI and deploying the python function to exam-app, you can follow these steps:
a. Set up the Fn CLI context in Cloud Shell - In the OCI Console, go to Developer Services and click Functions. - Select your assigned compartment from the list on the left. - Click Getting Started on the top right corner. - Copy and paste the commands from the Set Up Fn CLI Context section into the Cloud Shell window. This will create a new context for your region and compartment. - Set your registry [repo-name-prefix] by entering the following command in the Cloud Shell window:
`fn update context registry [region_key].ocir.io/[tenancy-name]/{username}`
where [region_key] is the region key for your region (for example, iad for US East Ashburn), [tenancy-name] is the name of your tenancy (for example, ocuocictrng16), and {username} is your username (for example, 99248134-lab.user01).
For example, if your region is US East Ashburn, your tenancy is ocuocictrng16, and your username is 99248134-lab.user01, your command would be:
`fn update context registry iad.ocir.io/ocuocictrng16/99248134-lab.user01`
b. Login to the registry using docker login, which will require you to generate and use an Auth Token - To generate an Auth Token, follow these steps: - In the OCI Console, open the Profile menu on the top right corner and click User Settings. - Click Auth Tokens on the left panel and then click Generate Token. - Enter a description for the token and click Generate Token. - Copy and save the token value. You will not be able to see it again later. - To login to the registry using docker login, follow these steps: - In the Cloud Shell window, enter the following command:
`docker login [region_key].ocir.io`
where [region_key] is the region key for your region (for example, iad for US East Ashburn).
For example, if your region is US East Ashburn, your command would be:
`docker login iad.ocir.io`
- Enter your username in the format `[tenancy-name]/oracleidentitycloudservice/{username}` (for example, ocuocictrng16/oracleidentitycloudservice/99248134-lab.user01) and press Enter.
- Enter your Auth Token as the password and press Enter. You should see a message saying 'Login Succeeded'.
c. Use wget https://objectstorage.us-ashburn1.oraclecloud.com/n/ocuocictrng5/b/PBT_Storage/o/ExamFunction-main.zipto upload the zip archive containing the Python function files to Cloud Shell. - In the Cloud Shell window, enter the following command:
`wget https://objectstorage.us-ashburn1.oraclecloud.com/n/ocuocictrng5/b/PBT_Storage/o/ExamFunction-main.zip`
This will download the zip archive to your current directory.
d. Extract the files by using the unzip utility and navigate to the python sub-folder - In the Cloud Shell window, enter the following commands:
`unzip ExamFunction-main.zip`
`cd ExamFunction-main/python`
This will extract the files from the zip archive and change your current directory to the python sub-folder.
e. Deploy the python function to the exam-app using an fn command - In the Cloud Shell window, enter the following command:
`fn deploy --app exam-app --local`
This will deploy the python function to the exam-app application using your local Docker image.
f. Invoke the function at least 2 times using an fn command - In the Cloud Shell window, enter the following command:
`fn invoke exam-app hellopython`
This will invoke the function and print its output.
- You can invoke the function again by repeating the same command or pressing Up Arrow and Enter keys. You should see different outputs each time you invoke the function.
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.)
You are working as a solution architect with a global automotive provider who is looking to
create a multi-cloud solution. They want to run their application tier in * Deploy the Oracle
database system into a public subnet in your VCN and assign a public IP address. Connect your
application tier running in Azure to the public IP address of the database system over the
internet.
Microsoft Azure while utilizing the Oracle DB Systems in the Oracle Cloud Infrastructure (OCI).
What is the most-fault tolerant and secure solution for this customer? (Choose the best answer.)
Challenge 2 - Task 2 of 5
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-
C01and Region us-ashburn-1
Complete the following task:
In the field below, write an IAM policy statement that allows API Gateway to access Oracle Functions
in your compartment.
One possible IAM policy statement that allows API Gateway to access Oracle Functions in your compartment is:
ALLOW any-user to use functions-family in compartment <your-compartment-name> where ALL {request.principal.type = 'ApiGateway', request.resource.compartment.id = '<your-compartment-OCID>'}
Full Exam Access, Actual Exam Questions, Validated Answers, Anytime Anywhere, No Download Limits, No Practice Limits
Get All 13 Questions & Answers