Free 1z0-997-23 Questions for Oracle Cloud Infrastructure 2023 Architect Professional 1z0-997-23 Exam as PDF & Practice Test Engine
Challenge 1
Implement Private DNS Names and Private DNS Resolver
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 Compartment99248134- C01 and Region us-ashburn-1 Complete the following tasks in the provisioned OCI environment:
1. Create a new VCN with the name exam-vcn within your assigned compartment by using the Start VCN Wizard.
2. Create a new Oracle Functions application named exam-app within your assigned compartment by using the private subnet in your previously created VCN.
Ensure you use all defaults provided with the Create VCN with Internet Connectivity option.
Implement Private DNS Names and Private DNS Resolver
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 Compartment99248134- C01 and Region us-ashburn-1 Complete the following tasks in the provisioned OCI environment:
1. Create a new VCN with the name exam-vcn within your assigned compartment by using the Start VCN Wizard.
2. Create a new Oracle Functions application named exam-app within your assigned compartment by using the private subnet in your previously created VCN.
Ensure you use all defaults provided with the Create VCN with Internet Connectivity option.
Correct Answer:
See the explanation for this task.
Explanation
Here are the steps to complete the challenge:
To create a new VCN with the name exam-vcn within your assigned compartment by using the Start VCN Wizard, follow these steps:
In the OCI Console, go to Virtual Cloud Networks.
Select your assigned compartment from the list on the left.
ClickStart VCN Wizard
SelectCreate VCN with Internet Connectivity Start VCN Wizard.
Enterexam-vcnas the and leave the other fields as default. ClickNext.
Review the summary and click . This will create a VCN with a public subnet, a private subnet, an internet gateway, a NAT gateway, a service gateway, and a route table.
To create a new Oracle Functions application named exam-app within your assigned compartment by using the private subnet in your previously created VCN, follow these steps:
In the OCI Console, go toDeveloper Servicesand clickFunctions.
Select your assigned compartment from the list on the left.
ClickCreate Application.
Enterexam-appas theApplication Nameand select your previously created VCN from theVCN dropdown menu.
Select the private subnet from theSubnetdropdown menu and leave the other fields as default.
ClickCreate. This will create an Oracle Functions application that can run serverless functions in a private subnet.
Explanation
Here are the steps to complete the challenge:
To create a new VCN with the name exam-vcn within your assigned compartment by using the Start VCN Wizard, follow these steps:
In the OCI Console, go to Virtual Cloud Networks.
Select your assigned compartment from the list on the left.
ClickStart VCN Wizard
SelectCreate VCN with Internet Connectivity Start VCN Wizard.
Enterexam-vcnas the and leave the other fields as default. ClickNext.
Review the summary and click . This will create a VCN with a public subnet, a private subnet, an internet gateway, a NAT gateway, a service gateway, and a route table.
To create a new Oracle Functions application named exam-app within your assigned compartment by using the private subnet in your previously created VCN, follow these steps:
In the OCI Console, go toDeveloper Servicesand clickFunctions.
Select your assigned compartment from the list on the left.
ClickCreate Application.
Enterexam-appas theApplication Nameand select your previously created VCN from theVCN dropdown menu.
Select the private subnet from theSubnetdropdown menu and leave the other fields as default.
ClickCreate. This will create an Oracle Functions application that can run serverless functions in a private subnet.
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.
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:
See the explanation for this task.
Explanation
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, seeCreate a Policy to Give API Gateways Access to Functions.
Explanation
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, seeCreate a Policy to Give API Gateways Access to Functions.
0
0
0
10
