OCI Flashcards
Q1. Which two parameters are required in a back-end set’s HTTP health check? (Choose two.) A. response body B. URL path C. timeout D. port E. status code
B. URL path
E. status code
Q2. Which two are true for achieving High Availability on Oracle Cloud Infrastructure? (Choose two.)
A. Store your database across multiple regions so that half of the data resides in one region and the other half resides in another region.
B. Attach your block volume form Availability Domain 1 to a compute instance in Availability Domain 2 (and vice versa) so that they are highly available.
C. Configure your database to have Data Guard in another Availability Domain in Sync mode within a region.
D. Store your database files on Object Storage so that they are available in all Availability Domains in all regions.
E. Distribute your application servers across all Availability Domains within a region.
C,E
Q3. Which two configuration formats does Terraform support? (Choose two.) A. YAML B. JSON C. HCL D. XML
B,C
Q4. At the end of a terraform apply operation, what is the default output?
A. nothing by default
B. statistics about what was added, changed, and destroyed
C. the entire state file
D. statistics about what was added, changed, and destroyed, and the values of outputs
D
Q5. You have created a public subnet in a VCN, and your public subnet has a Route Table, a Security List, and an Internet Gateway. However, none of the compute instances can connect to the Internet.
Which two are possible reasons for the connectivity issue? (Choose two.)
A. There is no Dynamic Routing Gateway (DRG) associated with the VCN.
B. The Route Table has no default route for routing traffic to the Internet Gateway.
C. There is no stateful ingress rule in the Security List associated with the public subnet.
D. There is no stateful egress rule in the Security List associated with the public subnet.
B,D
Q6. You want an instance in your compartment to make API calls to other services within Oracle Cloud Infrastructure without storing credentials in a configuration file. What do you need to do?
A. No action is required. By default, all VM instances are created with an Instance Principal.
B. Instances cannot access services outside their compartment.
C. VM instances are treated as users. Create a user and assign the user to that VM instance.
D. Create appropriate matching rules in the Dynamic Group to create an Instance Principal.
D
Q7. Which three must be configured for a load balancer to accept incoming traffic? (Choose two.)
A. a listener
B. a back-end server
C. a back end set
D. a security list that is open on a listener port
E. a certificate
A,C,D
Q8. Which two statements are true about Oracle Cloud Infrastructure Compute Service? (Choose two.)
A. You can launch a virtual or bare metal instance by using the same LaunchInstance API.
B. You cannot launch a bare metal server in Oracle Cloud Infrastructure Compute Service.
C. You can attach a block volume in an Availability Domain other than your compute instance.
D. You can share custom images across tenancies and regions.
A,D
Q9. Which five are the required parameters to launch an instance in Oracle Cloud Infrastructure? (Choose five) A. subnet B. Availability Domain C. Virtual Cloud Network D. host name E. instance shape F. image operating system G. private IP address
Answer: A,B,C,E,F
Q10. Which DNS resource record type is used to point a host name to an IPv4 address? A. ALIAS B. A C. CNAME D. AAAA
B
Q12. Your application front end consists of several Oracle Cloud Infrastructure compute instances behind a load balancer instance. You have configured the load balancer to perform health checks on these instances. If an instance fails to pass health checks, what will happen?
A. The instance is replaced automatically by the load balancer.
B. The instance is terminated automatically by the load balancer.
C. The instance is taken out of the back end set by the load balancer.
D. The load balancer stops sending traffic to that instance.
D
Q14. Which scaling option does Database Cloud Service (DBCS) on Bare Metal Shape offer? A. network bandwidth B. CPU C. storage D. memory
B
Q15. Which statement is true about Oracle Cloud Identifiers (OCID)?
A. mytenancy.oc.ocid is a valid OCID.
B. If you delete a user, and then create a new user with the same name, the user will be considered a different user because of different OCIDs.
C. Users can customize OCIDs for all the resources in their compartments.
D. If you delete a user, and then create a new user with the same name, to the new user will be assigned the exact same OCIDs as the system remembers.
B
Q16. Which three types of credentials are used to manage Oracle Cloud Infrastructure Identity and Access Management (IAM)? (Choose three.) A. Windows Password B. API Signing Key C. Swift Password D. SSH Key E. Console Password
B,C,E
Q17. Which two are true for Oracle Cloud Infrastructure DNS? (Choose two.)
A. It can function only as a primary DNS.
B. It supports other cloud providers such as AWS and Azure.
C. It supports segregation of traffic by using the private pool.
D. It does not provide DDoS protection.
B,C
Q18. Which service is NOT supported by Oracle Cloud Infrastructure CLI? A. load balancer B. compute C. database D. block volumes
D
Q19. In which language are Terraform and Terraform providers written? A. Python B. Go C. C D. Ruby
B
Q20. When creating multiple subnets within a Virtual Cloud Network (VCN), security lists are often made to group common services, for example, SSH and RDP (remote access), 80 and 443 (HTTP), and so on. By default, what is the maximum number of security lists that can be associated with a subnet upon creation? A. 4 B. 2 C. 5 D. 3
C
Q21. Why are two subnets required to create a public load balancer when additional subnets are often used for back-end servers? (Choose two.)
A. Routing is simpler when the load balancer is not in the same subnet as the back-end server.
B. Performance is higher when more subnets are used.
C. Additional subnets for back-end servers allow for separate route tables for these servers.
D. Additional subnets for back-end servers allow for separate security lists for these servers.
B,D
Q22. Which certificate format is used with the load balancer? A. PFX B. PEM C. PKCS12 D. CRT
B
Q23. A new employee has just started working for your company. You create an Oracle Cloud Infrastructure user account for this employee, following which they are able to log in, but still cannot create any resources. What should you do to resolve this?
A. Send the employee API Signing Keys to log in.
B. Delete the account and create another one.
C. Make sure that the employee is logging in to the Oracle Cloud Infrastructure account from your corporate network only.
D. Add the employee to a group with policies to grant access to relevant resources.
D
Q24. Which two statements are true about subnets within a VCN? (Choose two.)
A. You can have multiple subnets in an Availability Domain for a given VCN.
B. Private and Public subnets cannot reside in the same Availability Domain for a given VCN.
C. Subnets can have their IP addresses overlap with other subnets in another network for a given VCN.
D. Instances obtain their private IP and the associated security list from their subnets.
A,D
Q25. Which resource is required when connecting to your on-premise network from your Virtual Cloud Network (VCN) via IPSec VPN or FastConnect? A. Internet Gateway (IGW) B. Dynamic Routing Gateway (DRG) C. local peering gateway D. NAT
B
Q26. Which two resources are availability domain constructs? (Choose two.) A. VCN B. Groups C. Block Volume D. Compute Instance E. Object Storage
C, D
Q27. What is the default backup location for database backup on Database Cloud Service (DBCS)?
A. Object Storage on Oracle Cloud Infrastructure
B. ASM diskgroup
C. block volume
D. locally attached NVMe on Virtual Machine
A
Q28. Which statement is true about restoring a block volume from block volume backups? (Choose two.)
A. It can be restored as new volumes to any Availability Domain within the same region.
B. It must be restored as new volumes to the same Availability Domain on which the original block volume backup resides.
C. It can be restored as new volumes to any Availability Domain across different regions.
D. It can be restored as new volumes with different sizes from the backups.
A,D
Q29. Which three are valid Terraform configuration components? (Choose three.) A. variable B. region C. metadata D. instance E. resource F. data source
A, E, F
Q30. Which three components can you configure in Oracle Infrastructure Identity and Access Management? (Choose three.) A. Groups B. Users C. Instances D. Policies E. VCNs
A, B, D
Q31. Which two are NOT an image source when launching a new compute instance? (Choose two.) A. boot volume B. custom image C. Object Storage D. bare metal instance
C, D
Q32. Where is the tenancy Oracle Cloud Identifier (OCID) located? A. given by support on account creation B. at the bottom of every console page C. on the Identity – Users page D. contained within the compartment OCID
B
Q33. Which two features are offered natively on Oracle Cloud Infrastructure Database Cloud Service (DBCS)? (Choose two.)
A. Data Guard in Async mode within a region
B. GoldenGate replication between two regions
C. Data Guard in Maximum Protection mode
D. backup to Object Storage
A, D
Q34. What happens when you run terraform plan?
A. It configures, reconfigures, and instantiates resources and their dependencies.
B. It shows the operator the course of action that would be taken if a change is applied.
C. It deletes all existing resources and re-creates them.
D. It shows a dependency graph.
B
Q35. When creating a subnet, one or more placeholder security lists are often associated with the subnet. Why?
A. Each operator needs its own security list.
B. Each protocol needs its own security list.
C. Each network endpoint or instance in the subnet needs its own security list.
D. It is not possible to add or remove security lists after a subnet is created.
C
Q36. When terminating a compute instance, you want to preserve the boot volume and its data. Which step will you need to perform?
A. You cannot preserve the boot volume; it will always be deleted when you terminate the instance.
B. Reboot the instance first, and then terminate the instance.
C. Disable the default option to delete the boot volume when terminating an instance.
D. Before terminating the instance, you must detach the boot volume.
C
Q37. An instance is launched with a primary VNIC that is created during instance launch. Which two operations are true when you add secondary VNICs to an existing instance? (Choose two.)
A. You can remove the primary VNIC after the secondary VNIC’s attachment is complete.
B. You can remove the secondary VNIC later if it is not needed.
C. The primary and secondary VNIC association should be within the same Availability Domain.
D. It is not possible to connect two VNICs to an instance.
B, C
Q38. Which does NOT set a variable in Terraform?
A. Passing the variable with a var statement to Terraform
B. Setting the variable as key value pairs in a file in a subdirectory named tfvar
C. A default value in the variable declaration within a TF plan file
D. Setting the environment variable using a TF_VAR_ predicate in front of the variable name
B
Q39. Which two are required to create an IPSec VPN connection? (Choose two.) A. security list B. static route CIDR C. name D. compute instance
A, B
Q40. When deploying a highly available, Internet-facing, 2-tier web application on Oracle Cloud Infrastructure (OCI), which design option would you use?
A. Deploy all web servers into one Availability Domain and behind a public load balancer, and deploy two single-node OCI database systems in the same Availability Domain with Data Guard enabled.
B. Deploy all web servers into multiple Availability Domains and behind a public load balancer, and deploy two single-node OCI database systems across two Availability Domains with Data Guard enabled.
C. Deploy all web servers into multiple Availability Domains and behind a private load balancer, and deploy two single-node OCI database systems across two Availability Domains with Data Guard enabled.
D. Deploy all web servers into one Availability Domain, and deploy a single-node OCI database system into a different Availability Domain.
B
Q41. Which two identity providers can your administrator federate with Oracle Cloud Infrastructure? (Choose two.) A. Microsoft Active Directory B. Oracle Identity Cloud Services C. AWS Directory Services D. Google Directory Federation Services
A, B
Q42. What is the maximum IP address size range that you can have in a Virtual Cloud Network? A. /16 B. /26 C. /24 D. /8
A
Q44. A customer wants to do development on premise while leveraging services such as Java Cloud, Mobile Developer Cloud, and App Builder Services. The customer would also like to scale out the application, stretching from on-premises to the cloud by using a common API.
Which two Infrastructure options can the customer leverage to do this? (Choose two.)
A. Oracle Cloud at Customer
B. Oracle Cloud Infrastructure Classic
C. Oracle Cloud Ravello service
D. Oracle Cloud Infrastructure
A, C
Q43. Which two tools would you use to manage Database Cloud Service (DBCS)? (Choose two.) A. psql B. Oracle Swingbench C. SQL Developer D. Oracle Enterprise Manager
C,D
Q45. Which statement is true about a pre-authenticated request in Oracle Cloud Infrastructure Object Storage?
A. You can create only 1, 000 pre-authenticated requests per bucket.
B. You can create a pre-authenticated request only for public buckets.
C. You cannot retire a pre-authenticated request before it expires.
D. You cannot extend the expiration date on a pre-authenticated request.
D
Q46. Which statement is true about Oracle Cloud Infrastructure Object Storage Service?
A. An Archive Object Storage tier bucket can be upgraded to the Standard Object Storage tier.
B. You cannot directly download an object from an Archive Object Storage bucket.
C. An existing Standard Object Storage tier bucket can be downgraded to the Archive Object Storage tier.
D. Data retrieval in Archive Object Storage is instantaneous.
B
Q47. For a compute instance that is launched in a private subnet in a Virtual Cloud Network (VCN), which action needs to be performed to connect to the Internet, assuming that the required security list is properly set up?
A. Assign a Public IP address to the compute instance.
B. Create and configure Network Address Translation (NAT) in a public subnet and route all traffic to it.
C. There is no way for an instance in a private subnet to connect to the Internet.
D. Create a default route entry in the route table to forward all traffic to the Internet gateway.
B
Q48. Which two are valid options when migrating a database from on-premise to Oracle Cloud Infrastructure? (Choose two.)
A. snapping or cloning storage form on-premise to Oracle Cloud Infrastructure
B. performing a backup to Oracle Cloud Infrastructure Object Storage, and then restoring to a database server on Oracle Cloud Infrastructure
C. performing RMAN backup to an on-premise storage device, and then shipping to Oracle Cloud Infrastructure
D. converting the Oracle database to a NoSQL database and migrating to Oracle Cloud Infrastructure by using rsync file copy
B, C
Q49. You are responsible for setting up access for all the cloud users of a large enterprise. You log in to the Phoenix region and start creating users and policies. You then realize that some users might be creating resources in the Ashburn region. Which step should you perform to enable those users?
A. You can assign a region to each of the users at the time of creation.
B. IAM users are global and non-admin users can add resources to any region by default.
C. You need to log in to each region separately to create users for that particular region.
D. IAM users are global. As an administrator, make sure that you subscribe to the Ashburn region.
D
Q50. Your company has decided to move a few applications to Oracle Cloud and you have been asked to design it for both High Availability (HA) and Disaster Recovery (DR). Which two should you consider while designing your Oracle Cloud Infrastructure architecture? (Choose two.) A. Region B. Instance Shape C. Compartments D. Availability Domain
A, D
Q51. Which three are capabilities of the dbaascli utility? (Choose three.)
A. Patching the primary database deployment
B. Open port 1521 in the VCN to allow for traffic to the listener
C. Start and open the database instance
D. Switchover and failover in an Oracle Guard configuration
E. Clone a DB
A, C, D
Q52. You have one database-style application that frequently makes many random reads and writes across the dataset. Which storage offering supports this application? A. Object Storage Service B. Archive Storage Service C. File Storage Service D. Block Storage Service
D
Q53. You create a public Load Balancer instance and configure a back end set “BES1” with one back end server running a service on port 80. You also create a listener on port 80 and configure that listener to use the back end set “BES1”. A client makes one HTTP request to the Load Balancer with the correct protocol and port. How many connections does the Load Balancer maintain? A. 1 B. 2 C. 4 D. 3
A
Q54. Which three actions are required to configure a highly available and secure hybrid network between Oracle Cloud and your data center? (Choose three.)
A. Define a non-overlapping IP Address Space between the data center and the cloud.
B. Configure each of the CPEs to leverage each of the IPSec Tunnels created by the connection process.
C. Create two or more CPEs that map to the private IP addresses of the customer routers used in the IPSec VPN Tunnel.
D. Define a default route table entry for the VCN that directs all traffic to the data center network to a single DRG.
E. Create dynamic routing gateways in more than one AD within your region.
A, B, D
Q55. Which tool can automatically install Oracle Cloud Infrastructure CLI? A. Python B. RPM C. APT D. PIP
A
Q56. Which two statements are true about the Oracle Cloud Infrastructure Object Storage Service? (Choose two.)
A. It provides higher IOPS than Block Storage.
B. It can be directly attached or detached from a compute instance.
C. Data is stored redundantly only in one Availability Domain.
D. Data is stored redundantly across multiple storage servers across multiple Availability Domains.
E. It provides strong consistency.
D, E
Q57. What does Terraform use to create, manage, and manipulate infrastructure resources? A. resources B. provisioner C. instances D. provider
D
Q58. Which deployment architecture is offered when you deploy the Platform Service Manager based Database Cloud Service (DBCS) onto Oracle Cloud Infrastructure?
A. Two node Primary RAC database leveraging ACFS for the shared file system
B. Single Instance database with a Single Instance Data Guard in Maximum Performance mode
C. Single Instance database with a Single Instance Data Guard in Maximum Protection mode
D. Two node Primary RAC database with a two node RAC Data Guard Standby in Maximum Performance mode
D
Q59. Which three load-balancing policies can be used with a back end set? (Choose three.) A. Throughput B. IP Hash C. Weighted Round Robin D. CPU Utilization E. Least Connections
B, C, E
Q.60 You are in the process of setting up a highly available student registration website on Oracle Cloud Infrastructure (OCI). You use a load balancer and a database service on OCI. You launch two compute instances each in a different subnet and add them to the back end set of a public load balancer. The load balancer is configured correctly and working. You then deploy the student registration application on these two compute instances. The application can communicate with the database service. However, when you type the URL of this student registration application in your browser, no web page appears. What could be the cause?
A. The security lists of the subnets on which the two instances are located do not have “allow” rules for port 80 and 443.
B. The load balancer performed a health check on the application and found that compute instances were not in a healthy state and terminated the instances.
C. The client requested https access to the application and the load balancer service does not support end-to end SSL from the client to the listener to the back-end set.
D. The Dynamic Routing Gateway is preventing the client traffic from your data center network from reaching the public IP of the load balancer.
A
Q61. Which two will occur when a back-end server that is registered with a back end set is marked to drain connections? (Choose two.)
A. It disallows new connections to that back-end server.
B. It keeps the connections to that instance open and attempts to complete any in-flight requests.
C. It redirects the requests to a user-defined error page.
D. It immediately closes all existing connections to that instance.
E. It forcibly closes all connections to that instance after a timeout period.
A, B
Q62. You have a shared file system between two web servers using File Storage Service (FSS) and you were tasked to create a backup plan for this environment to protect the data placed into the shared file system. What is the recommended approach to create this backup using FSS features?
A. Implement a backup policy to execute a snapshot of the shared volume.
B. Implement a backup policy to copy data from the shared volume to object storage.
C. Compress the data that is in the shared volume and copy it into a different folder on the boot volume disk.
D. Use the rsync tool to send data from the shared volume to a boot volume disk.
E. Use the rsync tool to send data from the shared volume to a block volume.
A
Q63. Which storage would you use if your big data workload requires shared access and an NFS based interface? A. File Storage B. Storage Software Cloud Appliance C. Object Storage D. Archive Storage E. Block Volume
A
Q64. You need to transfer over 12 TB of data from on-premises to your cloud account. You started copying this data over the internet and noticed that it will take too long to complete. Without increasing the costs of your subscription, what is the recommended way to send this amount of data to your cloud account?
A. Use Data Transfer Service to send your data.
B. Split the data into multiple parts and use the multipart tool.
C. Use a 10 GB FastConnect line to send the data.
D. Send the data over a VPN IPsec tunnel.
E. Compress the data and use the multipart tool.
A
Q65. Which two statements are true about encryption on Oracle Cloud Infrastructure (OCI)? (Choose two.)
A. By default, Object Storage and Block Storage are encrypted at rest.
B. A customer is responsible for data encryption in all services of OCI.
C. By default, DBCS offers an encrypted database.
D. By default, NVMe drives are encrypted but the block volume service is not.
A, C
Q66. You are the Cloud Architect of a company, and are designing a solution on Oracle Cloud Infrastructure where you want to have all your compute instances resistant to hardware failure. Which two are recommended best practices to achieve the requirement on Oracle Cloud Infrastructure? (Choose two.)
A. Create a custom image of your system drive each time you change the image.
B. Attach block volumes from different Availability Domains to compute instances in different Availability Domains for high availability.
C. Design your system with redundant compute modes in different Availability Domains to support the failover capability.
D. Create backups of your block volumes that are associated with compute instances in different regions.
A, C
Q67. For what business need should you use Database Cloud Service (DBCS) instead of Oracle database on a compute instance?
A. to bring your own license on a compute service
B. to lower license and infrastructure cost
C. to implement Oracle RAC for high availability
D. to build an Oracle database on a compute service
C
Q68. You need to create a high performance shared file system service, and have been advised to use OCI File Storage Service. You have logged into the OCI Console, created a File System in an availability domain, and followed the steps to mount the shared file system on your Oracle Linux virtual Instance. However, you are still unable to access the shared file system from your Linux instance.
What is the likely reason for this?
A. There are no security list rules for mount target traffic
B. There is no IGW set up for mount target traffic
C. There is no IAM policies set up to allow you to access the mount target
D. There is no route in your VCN’s route table for mount target traffic
A