Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam
Logo

- Trusted Worldwide Questions & Answers

Exam dumps demo

1Z0-997-23 Exam Dumps and Practice Questions

Preview page 1 of 3 with real questions 1 to 5 from the full 13-question Oracle set.

Most Recent Oracle 1Z0-997-23 Exam Dumps

 

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.

Actual Oracle 1Z0-997-23 Exam Questions

Question 1

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

Correct answer: A

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.


Question 2

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.)

Correct answer: A

Option A is correct because deploying a Virtual Machine RAC DB system on OCI and using the ZDM tool for the database migration is a method that can minimize the impact on the application. ZDM is a software solution that allows you to directly and seamlessly migrate your on-premises Oracle Databases to the Oracle Cloud, whether in OCI or ExaCC.ZDM supports a wide range of Oracle Database versions, and ensures that there is minimal to no production downtime during the migration1.ZDM also supports migrating RAC databases to RAC databases on OCI2.

Option B is incorrect because deploying an Autonomous Transaction Processing Database on OCI and using the MV2ADB tool for the database migration is not a suitable method for this scenario. MV2ADB is a command-line tool that allows migrating data from an Oracle database on-premise to Oracle Autonomous Database in ''one-click''.It is based on Oracle Data Pump export and import utility3.However, MV2ADB does not support migrating RAC databases to Autonomous Database, nor does it support migrating Enterprise Edition databases to Autonomous Database4.

Option C is incorrect because deploying an Exadata Cloud Service Base rack and using Oracle Data Pump tool to migrate the data from customer on-premises to OCI is not a method that can minimize the impact on the application.Oracle Data Pump is a technology that enables you to move data and metadata from one database to another5. However, Oracle Data Pump requires intermediate storage for the dump files, which can add complexity and overhead. It also requires downtime during the export and import operations, which can affect the availability of the application.


Question 3

(OCI) in two weeks. Their data center has been recently struck by a massive

hurricane and the building has been badly damaged, although still operational. They have a 100

Mbps Internet line but the connection is intermittent due to the damages caused to the electrical

grid.

In this scenario, what is the most effective service to use to migrate the data to OCI given the

time constraints? (Choose the best answer.)

Correct answer: A

Option A is correct because using multiple OCI Data Transfer Appliances to transfer data to OCI is the most effective service to use to migrate the data to OCI given the time constraints. This option can securely move terabytes or petabytes of data between on-premises data centers and the cloud in days instead of weeks or months.It also avoids using the public internet, which can be slow, unreliable, and expensive45.

Option B is incorrect because setting up an OCI Storage Gateway to connect your data center and your VCN and uploading all data to OCI is not effective given the time constraints. This option requires using the public internet, which can be intermittent due to the damages caused by the hurricane.It also requires installing and configuring a software appliance on your premises, which can add complexity and overhead6.

Option C is incorrect because setting up a hybrid network by launching a 1Gbps FastConnect virtual circuit between your data center and OCI and using OCI Object Storage multipart upload tool to automate the migration of your data to OCI is not feasible given the time constraints. This option requires provisioning a FastConnect circuit, which can take several days or weeks depending on your network provider. It also requires using a public internet backup path, which can be unreliable due to the hurricane .

Option D is incorrect because setting up an OCI Storage Gateway to connect your data center and your VCN and uploading all data to OCI using OCI Storage Gateway Cloud Sync tool is not effective given the time constraints. This option requires using the public internet, which can be intermittent due to the damages caused by the hurricane.It also requires installing and configuring a software appliance on your premises, which can add complexity and overhead6.

Option E is incorrect because uploading the data to OCI using OCI Object Storage multipart upload tool is not effective given the time constraints. This option requires using the public internet, which can be slow, unreliable, and expensive due to the hurricane and the large amount of data involved


Question 4

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

Having deployed a private function to an Oracle Functions application in OCI as proof-of-concept,

demonstrate that it can be invoked via a public API Gateway deployment. Before you proceed

further, ensure that you have created the following resources:

* An OCI VCN in your compartment for hosting the API Gateway2

* The hello-python function deployed to a Functions application in your compartment

Complete the following tasks in the provisioned OCI environment:

1. Create a new public API Gateway in your compartment named exam-gateway.

2. Create a new API Deployment named exam-deployment using /v1 as the path prefix

in exam-gateway.

3. Create a new route by using /hello as the path and GET as the method. The route must

invoke the hello-python function.

4. Create a new stateful CIDR Ingress Rule that allows for TCP HTTPS traffic (port 443) from all

IP addresses and ports in the default Security List for exam-vcn.

5. Use curl to call the function via your API Gateway deployment.

curl -k -X GET {deployment-endpoint}/hell

Correct answer: A

To complete the task of creating a public API Gateway and invoking a private function in OCI, you can follow these steps:

To create a new public API Gateway in your compartment named exam-gateway, follow these steps:

In the OCI Console, go toDeveloper Servicesand clickAPI Gateway.

Select your assigned compartment from the list on the left.

ClickCreate Gateway.

Enterexam-gatewayas theNameand selectPublicas theType. You can also add a description for the gateway if you want.

Select your previously created VCN from theVCNdropdown menu and select any subnet from theSubnetdropdown menu. You can also enable logging for the gateway if you want.

ClickCreate. This will create a new public API Gateway in your compartment that can expose your functions to the internet.

To create a new API Deployment named exam-deployment using /v1 as the path prefix in exam-gateway, follow these steps:

In the OCI Console, go toDeveloper Servicesand clickAPI Gateway.

Select your assigned compartment from the list on the left and click on your previously created gateway (exam-gateway).

ClickDeploymentson the left panel and then clickCreate Deployment.

Enterexam-deploymentas theNameand selectFrom Scratchas theSpecification Type. You can also add a description for the deployment if you want.

Enter /v1 as thePath Prefixand leave the other fields as default. ClickNext.

To create a new route by using /hello as the path and GET as the method, follow these steps:

In the Create Deployment dialog box, clickAdd Route.

Enter /hello as thePath, select GET as theMethod, and select Oracle Functions as theType.

Select your previously created function (hello-python) from theFunction Namedropdown menu and leave the other fields as default. ClickSave Changes. This will create a new route that will invoke your function when you send a GET request to /v1/hello.

To create a new stateful CIDR Ingress Rule that allows for TCP HTTPS traffic (port 443) from all IP addresses and ports in the default Security List for exam-vcn, follow these steps:

In the OCI Console, go toNetworkingand clickVirtual Cloud Networks.

Select your assigned compartment from the list on the left and click on your previously created VCN (exam-vcn).

ClickSecurity Listson the left panel and then click on the default security list for your VCN.

ClickEdit All Rulesand then clickAdd Ingress Ruleunder the Ingress Rules section.

Enter 0.0.0.0/0 as theSource CIDR, select TCP as theIP Protocol, and enter 443 as both theSource Port Rangeand theDestination Port Range. You can also add a description for the rule if you want.

ClickSave Security List Rules. This will create a new stateful CIDR Ingress Rule that will allow HTTPS traffic from any source to reach your API Gateway.

To use curl to call the function via your API Gateway deployment, follow these steps:

In the OCI Console, go toDeveloper Servicesand clickAPI Gateway.

Select your assigned compartment from the list on the left and click on your previously created gateway (exam-gateway).

ClickDeploymentson the left panel and then click on your previously created deployment (exam-deployment).

Copy the value of the Endpoint URL field. This is the base URL for your API Deployment.

In a terminal window, enter the following command:

curl -k -X GET {deployment-endpoint}/v1/hello

where {deployment-endpoint} is the base URL that you copied.

For example, if your deployment endpoint is https://abc123xyz456.apigateway.us-ashburn-1.oci.customer-oci.com, your command would be:

curl -k -X GET https://abc123xyz456.apigateway.us-ashburn-1.oci.customer-oci.com/v1/hello

This will send a GET request to your API Deployment and invoke your function. You should see a response similar to this:

{'message': 'Hello World!'}

Topic 2, Multiple Choice Questions


Question 5

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.

Correct answer: A

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>'}

This statement grants the any-user group the permission to use the functions-family resource type in the specified compartment, but only if the request is coming from an API Gateway and the function belongs to the same compartment as the API Gateway. For more information, see Create a Policy to Give API Gateways Access to Functions.


Unlock all Oracle 1Z0-997-23 questions

Full exam access, validated answers, and unlimited practice with no download limits.