New Year Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

1z0-1067-24 Questions and Answers

Question # 6

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

Full Access
Question # 7

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:

Full Access
Question # 8

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.

Full Access
Question # 9

What is a key benefit of using Oracle Cloud Infrastructure Resource Manager for your Terraform provisioning and management activities? (Choose the best answer.)

A.

You can use Resource Manager to apply patches to all existing Oracle Linux interfaces in a specified compartment.

B.

You can use Resource Manager to identify and maintain an inventory of all Compute and Database instances across your tenancy.

C.

Resource Manager has administrative privileges by design. Even if your IAM user does not have access, you can leverage Resource Manager to provision new resources to any compartment in the Tenancy.

D.

Resource Manager manages to Terraform state file for your infrastructure and locks the file so that only one job at a time can run on a given stack.

Full Access
Question # 10

You have a web application running on Oracle Cloud Infrastructure (OCI) that lets users log in with a username and password. You notice that an attacker has tried to use SQL comment to alter the database query, remove the password check and log in as a user. You decide to prevent any future attacks. Which of the following OCI services or features would you choose to safeguard your application? (Choose the best answer.)

A.

Data Safe

B.

Web Application Framework (WAF)

C.

Vault

D.

Network Security Group

Full Access
Question # 11

You have a Linux compute instance located in a public subnet in a VCN which hosts a web application. The security list attached to subnet containing the compute instance has the following stateful ingress rule.

The Route table attached to the Public subnet is shown below. You can establish an SSH connection into the compute instance from the internet. However, you are not able to connect to the web server using your web browser.

Which step will resolve the issue? (Choose the best answer.)

A.

In the security list, remove the ssh rule.

B.

In the security list, add an ingress rule for port 80 (http).

C.

In the route table, add a rule for your default traffic to be routed to service gateway.

D.

In the route table, add a rule for your default traffic to be routed to NAT gateway.

Full Access
Question # 12

Which of the following THREE statements are true about Versioning? (Choose three.)

A.

You can enable the Versioning and Retention rule simultaneously on bucket.

B.

If versioning enabled, even if you delete the file inside the bucket, you will be charged for the data shared as the meta data still resides inside the bucket.

C.

If Versioning is enabled and you delete the files stored in a bucket, then a delete marker is created so that you can restore the deleted file.

D.

If Versioning disabled, and you try uploading files with the same name, then a copy of the file in kept with a different name.

E.

Versioning is applied at the bucket level.

Full Access
Question # 13

You are working with Terraform on your laptop and have been tasked with spinning up multiple compute instances in Oracle Cloud Infrastructure (OCI) for a project. In addition, you are also required to collect IP addresses of provisioned instances and write them to a file and save it in your laptop. Which specific Terraform functionality can help accomplish this task? (Choose the best answer.)

A.

Terraform remote-exec

B.

Terraform remote state

C.

Terraform modules

D.

Terraform local-exec

Full Access
Question # 14

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.

Full Access