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

Oracle 1z0-1067-24 - Oracle Cloud Infrastructure 2024 Cloud Operations Professional

Page: 2 / 2
Total 93 questions

(CHK) Your company recently adopted a hybrid cloud architecture which requires them to migrate some of their on-premises web applications to Oracle Cloud Infrastructure (OCI). You created a Terraform template which automatically provisions OCI resources such as compute instances, load balancer, and a database instance. After running the stack using the terraform apply command, it successfully launched the compute instances and the load balancer, but it failed to create a new database instance with the following error: Service error: NotAuthorizedOrNotFound. shape VM.Standard2.4 not found. http status code: 404 You dis-covered that the resource quotas assigned to your compartment prevent you from using VM.Standard2.4 instance shapes available in your tenancy. You edit the Terraform script and replace the shape with VM.Standard2.2 Which option would you recommend to re-run the terraform command to have required OCI resources provisioned with the least effort? (Choose the best answer.)

A.

terraform refresh target=oci_database_db_system.db_system

B.

terraform apply auto-approve

C.

terraform apply target=oci_database_db_system.db_system

D.

terraform plan target=oci_database_db_system.db_system

Multiple teams are sharing a tenancy in Oracle Cloud Infrastructure (OCI). You are asked to figure out an appropriate method to manage OCI costs. Which is NOT a valid technique to accurately attribute costs to resources used by each team? (Choose the best answer.)

A.

Create an Identity and Access Management (IAM) group for each team. Create an OCI budget for each group to track spending.

B.

Create separate compartment for each team. Use the OCI cost analysis tools to filter costs by compartment.

C.

Create a Cost-Tracking tag. Apply this tag to all resources with team information. Use the OCI cost analysis tools to filter costs by tags.

D.

Define and use tags for resources used by each team. Analyze usage data from the OCI Usage Report which has detailed information about resources and tags.

Which is the correct monitoring query that will monitor the CPU utilization threshold including an alarm?

A.

(CpuUtilization[1m].max() > 80).grouping().sum()

B.

CpuUtilization[1m].max()

C.

CpuUtilization[1m]{shape = "VM.Standard.E4.Flex"}.max()

D.

CpuUtilization[1m].max().grouping().sum()

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.

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

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: 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: