Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

Scenario: 2  (Oracle Cloud-init and AutoScaling: Use cloud-init to Configure Apache on Instances in an Autoscaling Instance Pool)

Scenario Description:  (Hands-On Performance Exam Certification)

You're deploying an Apache-based web application on OCI that requires horizontal autoscaling.

To  configure instances upon provisioning, write a cloud-init script for  Oracle Linux 8 that installs and enables Apache (httpd), and opens the  firewall for HTTP on TCP port 80. Create an instance configuration and  include the cloud-init script in it. Use this instance configuration to  create an instance pool and autoscaling configuration.

Pre-Configuration:

To fulfill this requirement, you are provided with the following:

Access to an OCI tenancy, an assigned compartment, and OCI credentials

A  VCN Cloud-Init Challenge VCN with an Internet gateway and a public  subnet. The security list for the subnet allows ingress via TCP ports 22  and 80 (SSH and HTTP). The route table forwards all egress to the  Internet gateway.

Access to the OCI Console

Required IAM policies

An SSH key pair for the compute instance

Public Key https://objectstorage.us-ashburn-1.oraclecloud.com/n/tenancyname/b/PBT_Storage/o/PublicKey.pub

Private Key https://objectstorage.us-ashburn-1.oraclecloud.com/n/tenancyname/b/PBT_Storage/o/PKey.key

Note: Throughout your exam, ensure to use assigned Compartment , User Name , and Region.

Complete the following tasks in the provisioned OCI environment:

Task 1(a): Develop the cloud-init Script:

Task 1(b): Use cloud-init to Configure Apache on Instances in an Autoscaling Instance Pool:

Scenario: 3  (Use the OCI CLI to Work with Object Storage from a Compute Instance)

Scenario Description:  (Hands-On Performance Exam Certification)

Your  company runs a web application in OCI that generates log files. You  want to upload these files to OCI Object Storage to meet data retention  requirements. Some files need to be retained indefinitely, whereas  others can be deleted after 30 days. Use the OCI CLI to  create bucket and upload the log directory and create a lifecycle  policy rule to delete temporary files after 30 days.

Pre-Configuration:

To fulfill this requirement, you are provided with the following:

Access to an OCI tenancy, an assigned compartment, and OCI credentials

A compute instance with OCI CLI installed and a set of files in ~/dir_to_upload to use

Access to the OCI Console

Required IAM policies

Assumptions:

Perform the tasks by using the OCI CLI on the compute instance.

Use instance principal authentication for all CLI commands; the instance has been given the policies necessary.

Connect to the compute instance using Cloud Shell’s private networking and the provided SSH key.

An SSH key pair has been provided to you for the compute instance.

Private Key https://objectstorage.us-ashburn- 1.oraclecloud.com/n/tenancyname/b/PBT_Storage/o/PKey.key

Note: Throughout your exam, ensure to use assigned Compartment , User Name  and Region.

Complete the following tasks in the provisioned OCI environment:

Task 1: Create a Bucket in Object Storage

Task 2: Upload a Directory’s Contents to Object Storage

Task 3: Add a Lifecycle Policy to the Bucket

Scenario: 4  (Write Identity and Access Management Policies to Secure a Tenancy)

Scenario Description:  (Hands-On Performance Exam Certification)

Your  company has signed up for an OCI tenancy to migrate an e-commerce  application, a supply chain management (SCM) system, and a customer  relationship management (CRM) system.  You have been tasked with setting  up the requisite identity and access management (IAM) policies for your  team to begin developing on OCI.

You start by setting up the following compartment hierarchy:

    Tenancy (root)

       Common-Infra

             Network

             Security

       Applications

             E-Comm

             SCM

             CRM

You create the following groups:

    Network-Admins

    Security-Admins

    E-Comm-Admins

    SCM-Admins

    CRM-Admins

Write the IAM policies for the following use cases:

Assumptions:

Assume that all policies will be attached to the root compartment.

Write one policy per given text box.

Keep  policies as simple as possible by using verbs instead of permissions  (for example, “inspect orm-stacks” instead of “ORM_STACK_INSPECT”) and  aggregate resource types instead of individual ones (for example,  “file-family” instead of “file-systems” and “mount-targets”)

Task 1

Write  a policy statement to enable Network-Admins to create and destroy  network-related resources, such as VCNs, subnets, gateways, and so on in  the Network compartment.

Task 2

Write  policy statements to enable E-Comm-Admins to provision and destroy  compute instances in the E-Comm compartment by using networking  resources in the Network compartment.[Write one policy per given text  box]

Task 3

Write a  policy statement to enable SCM-Admins to provision, destroy, and back up  block volumes in the SCM compartment—but only in Phoenix and London.

Scenario: 1  (Create a reusable VCN Configuration with Terraform)

Scenario Description:  (Hands-On Performance Exam Certification)

You’ll  launch and destroy a VCN and subnet by creating Terraform automation  scripts and issuing commands in Code Editor. Next, you’ll download those  Terraform scripts and create a stack by uploading them into Oracle  Cloud Infrastructure Resource Manager.

You’ll then use that service to  launch and destroy the same VCN and subnet.

In this scenario, you will:

a. Create a Terraform folder and file in Code Editor.

b. Create and destroy a VCN using Terraform.

c. Create and destroy a VCN using Resource Manager.

Which two statements about the Oracle Cloud Infrastructure (OCI) Command Line Inter-face (CLI) are TRUE? (Choose two.)

A.

The CLI allows you to use the Python language to interact with OCI APIs.

B.

You can run CLI commands from inside OCI Regions only.

C.

You can filter CLI output using the JMESPath query option for JSON.

D.

The CLI provides the same core functionality as the Console, plus additional commands.

E.

The CLI provides an automatic way to connect with instances provisioned on OCI.

You have been contracted by a local e-commerce company to assist with enhancing their online shopping application. The application is currently deployed in a single Oracle Cloud Infrastructure (OCI) region. The application utilizes a public load balancer, application servers in a private subnet, and a database in a separate, private subnet. The company would like to deploy another set of similar infrastructure in a different OCI region that will act as standby site. In the event of a failure at the primary site, all customers should be routed to the failover site automatically. After deploying the additional infrastructure within the second region, how should you configure automated failover requirements? (Choose the best answer.)

A.

Create a new A record in DNS that points to the public load balancer at the secondary site. Create a CNAME for the sub-domain failover that will resolve to the new A rec-ord. Inform customers to prepend the website URL with failover if the primary site is unavailable.

B.

Create a load balancer policy in the Traffic Management service. Configure one answer for each site. Set the answer for the primary site with a weight of 10 and the answer for the secondary site with a weight of 100.

C.

Deploy a new load balancer in the primary region. Create one backend set for the primary application servers and a second backend set for the standby application servers. Create a listener for the primary backend set with a timeout of 3 minutes. Create a listener for the secondary backend set with a timeout of 10 minutes.

D.

Create a failover policy in the Traffic Management service. Set the IP address of the public load balancer for the primary site in answer pool 1. Set the IP address of the public load balancer for the secondary site in answer pool 2. Define a health check to monitor both sites.

You have a group pf developers who launch multiple VM.Standard2.2 compute instances every day into the compartment Dev. As a result, your OCI tenancy quickly hit the service limit for this shape. Other groups can no longer create new instances using VM.Standard2.2 shape. Because of this, your company has issued a new mandate that the Dev compartment must include a quota to allow for use of only 20 VM.Standard2.2 shapes per Availability Do-main. Your solution should not affect any other compartment in the tenancy. Which quota statement should be used to implement this new requirement? (Choose the best answer.)

A.

set compute quota vm-standard2-count to 10 in compartment dev where request.region = us-phoenix-01

B.

zero compute quotas in tenancy set compute quota vmג€"standard22--count to 20 in tenancy dev

C.

zero compute quotas in tenancy set compute quota vmג€"standard22--count to 20 in compartment dev

D.

set compute quota vm-standard22--count to 20 in compartment dev

Which statement about Oracle Cloud Infrastructure paravirtualized block volume attachments is TRUE? (Choose the best answer.)

A.

Paravirtualized volumes may reduce the maximum IOPS performance for larger block volumes.

B.

Paravirtualized volumes become immediately available on bare metal compute instances.

C.

Paravirtualization utilizes the internal storage stack of compute instance OS and net-work hardware virtualization to access block volumes.

D.

Paravirtualized is required to manage iSCSI configuration for virtual machine instances.

You have a group of developers who launch multiple VM.Standard3.Flex compute in-stances every day into the compartment Dev. As a result, your Oracle Cloud Infrastructure (OCI) tenancy quickly hits the service limit for this shape, and other groups can no longer create new instances using the VM.Standard3.Flex shape. Therefore, your company issues a new mandate that the Dev compartment must include a quota that allows the use of only 20 VM.Standard3.Flex OCPUs per availability domain, without affecting any other compartment in the tenancy. Which quota statement would you use to implement this new requirement?

A.

set compute-core quota standard3-core-count to 20 in compartment dev where re-quest.region = us-phoenix-1

B.

zero compute-core quotas in tenancy set compute-core quota standard3-core-count to 20 in tenancy dev

C.

zero compute-core quotas in tenancy set compute-core quota standard3-core-count to 20 in compartment dev

D.

set compute-core quota standard3-core-count to 20 in compartment dev

The boot volume on your Oracle Linux instance has run out of space. Your application has crashed due to a lack of swap space, forcing you to increase the size of the boot volume. Which step should NOT be included in the process used to solve the issue? (Choose the best answer.)

A.

Resize the boot volume by specifying a larger value than the boot volume current size.

B.

Reattach the boot volume and restart the instance.

C.

Create a RAID 0 configuration to extend the boot volume file system onto another block volume.

D.

Attach the resized boot volume to a second instance as a data volume; extend the partition and grow the file system in the resized boot volume.

E.

Stop the instance and detach the boot volume.