Download Oracle Cloud Architect Associate 1Z0-1072 v1 and more Exams Computer Science in PDF only on Docsity!
OCI 2023 Architect Associate 1Z0- 1072 - 23 Practice Tests
Question 1: You create a file system and then add a 2 GB file. You then take a snapshot of the file system. What would be the total meteredBytes shown by the File Storage service after the hourly update cycle is complete?
- 3 GB
- 2 GB (Correct)
- 2.5 GB
- 4 GB Explanation: Snapshot data usage is metered against differentiated data only. If nothing has changed within the file system since the last snapshot was taken, a new snapshot does not consume more storage. You create a file system and add a 2GB file. The new file system now contains 2 GB including metadata. After the hourly update cycle is complete, the total meteredBytes shown by the File Storage service is 2 GB. Next, you create a snapshot of the file system. After the hourly update cycle is complete, the total meteredBytes shown by the File Storage service remains at 2 GB, because there's no differentiated data yet. Question 2: The volume of transactions of your rental business is increasing. You anticipate a rise in workload during the upcoming holiday sales event. You want to ensure that
the business is not impacted during the event due to an overloaded database system. Based on your database administrator's suggestion, you intend to scale up your Virtual Machine DB System during the event period to address the resource demand. Which of the following TWO statements are true about scaling the Virtual Machine DB System?
- You can only scale up OCPUs, but not storage.
- You can scale up storage in a Virtual Machine DB System without any downtime. (Correct)
- You can only scale up a database system, but cannot scale it down.
- You can change the shape of a Virtual Machine DB System to change the number of OCPU cores. (Correct)
- You can perform scaling operations only after the database system is down. Explanation: Scale the CPU Cores For a Bare Metal DB System If a bare metal DB system requires more compute node processing power, you can scale up (increase) the number of enabled CPU cores in the system without impacting the availability of that system. Scale Up the Storage For a Virtual Machine DB System
Explanation: Group multiple storage volumes in a volume group and create volume group backups is as we have different custom schedule requirement - backup for boot volumes to be done daily and backup of block volumes to be done every six hours. Hence one Volume Group won't satisfy the requirement. Create clones of all boot volumes and block volumes one at a time is as the question is about backup and the answer talks about creating clones. Create on-demand full backups of block volumes, and create custom images from the boot volumes. Use a function to run at a specific time to start the backup process is as the option doesn't talk about volume groups. Group the boot volumes into a volume group and create a custom backup policy. Group the block volumes and create a custom backup policy is correct - You need to create two volume groups - one for grouping boot volumes and the other for grouping block volumes. You would then define custom backup policies. Question 4: Your customer would run month-end jobs on their on-premises databases that would take around 14 hours to complete and sometimes even fail due to overloaded database systems. After a detailed evaluation, they migrated their database to Oracle Autonomous Data Warehouse. They realized they could also move their analytics platform to Oracle Analytics Cloud (OAC) and have their best of breed technology platforms meet their critical business requirements. After migrating their analytics platform, they want to use one consumer group for running month-end jobs and another consumer group that can be used by the analytics team for performing data analytics tasks everyday. How can your customer implement this requirement?
- Use consumer group medium for month-end jobs and consumer group low for data analytics.
- Use consumer group high for month-end jobs and consumer group medium for data analytics. (Correct)
- Use consumer group high for both month-end jobs and data analytics.
- Use consumer group high for data analytics and consumer group low for month-end jobs. Explanation: By default, the CPU/IO shares assigned to the consumer groups HIGH, MEDIUM, LOW are 4, 2, and 1, respectively. With the default settings the consumer group HIGH will be able to use 4 times more CPU/IO resources compared to LOW and 2 times more CPU/IO resources compared to MEDIUM, when needed. The consumer group MEDIUM will be able to use 2 times more CPU/IO resources compared to LOW, when needed. Question 5: In which TWO ways does Cloud Guard help improve the overall security posture for your tenancy?
Masks sensitive data and monitors security controls on your Oracle databases.
Monitors unauthorized or suspicious user activity. (Correct)
Prevents you from creating misconfigurations on your resources in Oracle Cloud Infrastructure (OCI).
Helps detect misconfigured resources, such as publicly accessible Object Storage buckets, instances, and restricted ports on security lists. (Correct)
Snapshots are accessible under the root directory of the file system at .snapshot/name.
Snapshots are a consistent, point-in-time view of your file systems.
Before you can clone a file system, at least one snapshot must exist for the file system. Explanation: A snapshot is a point-in-time view of your file system. Snapshots initially consume no additional usage in the file system, because they reference the original data instead of duplicating it, limiting usage cost. Snapshot data usage is metered against differentiated data only. If nothing has changed within the file system since the last snapshot was taken, a new snapshot does not consume more storage. Question 7: A few Object Storage buckets in your Oracle Cloud Infrastructure (OCI) tenancy should remain public, and yet you do not want the Cloud Guard service to detect these as problems. In which TWO ways would you address this requirement?
Resolve or remediate those problems and you should not see Cloud Guard triggering on these resources ever again.
Cloud Guard will keep detecting it because a public bucket is a security risk.
Fix the base line by configuring Conditional Groups for the detector. (Correct)
- Dismiss the problems associated with those resources. (Correct) Explanation: A conditional group sets parameters that you specify, to l imit the scope of situations for which the violation of a detector rule actually triggers a problem. Example : You have 10 Compute Instances. Two instances (Instance1 and Instance2) should be public, so you don't want the "Instance is publicly accessible" rule to trigger problems on these instances. You can use conditional groups to exclude these two instances, using either custom lists or managed lists. When you dismiss a problem, you're telling Cloud Guard to ignore this instance of the problem for that resource , and simply ignore it if it happens in the future. Only the problem history of the dismissed problem is updated. When you mark a problem as resolved, you're telling Cloud Guard that it was in fact a problem, but you've taken an action that handled it. If another instance of this same problem occurs, it's detected again. Question 8: Which statement is true regarding the run command feature in the Oracle Cloud Infrastructure (OCI) Compute service?
The maximum size for a script file that you upload directly to an instance in plain text is 4 KB. (Correct)
The run command feature does not require any Oracle Cloud Agent plugins to be enabled and running.
Question 9: Oracle Cloud Agent is a lightweight process that manages plugins running on compute instances. Which is NOT a valid Oracle Cloud Agent plugin name?
- OS Management Service Agent
- Bastion
- Compute Instance Run Command
- Live Migration Agent (Correct) Explanation: OS Management Service Agent Plugin: Manages updates and patches for the operating system environment on the instance. Bastion Plugin: Allows secure shell (SSH) connections to an instance without public IP addresses using the Bastion service. Compute Instance Run Command Plugin: Runs scripts within the instance to remotely configure, manage, and troubleshoot the instance. Live Migration Agent is NOT a valid Oracle Cloud Agent plugin name. Reference: You can find the list of available plugins here : Managing Plugins with Oracle Cloud Agent Question 10: You are part of a team that manages a set of workload instances running in an on- premises environment. The Architect team is tasked with designing and configuring Oracle Cloud Infrastructure (OCI) Logging service to collect logs from these
instances. There is a requirement to archive Info-level logging data of these instances into the OCI Object Storage. Which TWO features of OCI can help you achieve this?
- ObjectCollectionRule
- Agent Configuration (Correct)
- Cloud Agent Plugin
- Grouping Function
- Service Connectors (Correct) Explanation: Custom logs are logs that contain diagnostic information from custom applications, other cloud providers, or an on-premise environment. Custom logs can be ingested in the following ways by configuring the Unified Monitoring Agent. See Installing the Agent for instructions. The Unified Monitoring Agent can be installed on many machines, and it pulls logs from local directories, where your apps or systems emit logs. The agent can also parse your logs for you. All of this is configured in Agent Configurations. An agent configuration is the central mechanism for defining:
- What hosts you want logs from.
- What specific logs you want from the hosts.
Explanation: You can configure multiple listeners for an IP address to load balance Layer 4 (TCP/UDP/ICMP) traffic. Reference: Introduction to Network Load Balancer (oracle.com) Border Gateway Protocol (BGP) is used to Exchange routing information for the internet and is the protocol used between ISP which are different ASes. Internet Small Computer Systems Interface or iSCSI is an Internet Protocol-based storage networking standard for linking data storage facilities. iSCSI provides block- level access to storage devices by carrying SCSI commands over a TCP/IP network. Question 12: You plan to upload a large file (3 TiB) to Oracle Cloud Infrastructure (OCI) Object Storage. You would like to minimize the impact of network failures while uploading, and therefore you decide to use the multipart upload capability. Which TWO statements are true about performing a multipart upload using the Multipart Upload API?
- You do not have to commit the upload after you have uploaded all the object parts.
- You do not need to split the object into parts. Object Storage splits the object into parts and uploads all of the parts automatically.
- While a multipart upload is still active, you can keep adding parts as long as the total number is less than 10,000. (Correct)
- When you split the object into individual parts, each part can be as large as 50 GiB.
(Correct) Explanation: Performing a multipart upload using the Multipart Upload API: Before you use the multipart upload API, you are responsible for creating the parts to upload. With multipart upload, you split the object you want to upload into individual parts. Individual parts can be as large as 50 GiB. While a multipart upload is still active, you can keep adding parts as long as the total number is less than 10,000. When you have uploaded all object parts, commit the upload. Reference: Using Multipart Uploads (oracle.com) Question 13: You have an instance running in Oracle Cloud Infrastructure (OCI) that cannot be live-migrated during an infrastructure maintenance event. OCI schedules a maintenance due date within 14 to 16 days and sends you a notification. What would happen if you choose not to proactively reboot the instance before the scheduled maintenance due date?
- You will receive another notification to reboot within the next 7 days.
- The instance is either reboot-migrated or rebuilt in place for you. (Correct)
- The instance will get terminated.
- You will receive another notification to reboot within the next 14 days.
Explanation: An MQL expression includes the following components:
- metric
- interval
- dimensions , as one or more name-value pairs ( optional )
- grouping function ( optional )
- statistic
- comparison operation (optional). Useful for defining alarms. More Read: Monitoring Query Language (MQL) Reference (oracle.com) Question 15: You are using the Oracle Cloud Infrastructure (OCI) Vault service to create and manage Secrets. For your database password, you have created a secret and rotated the secret one time. The secret versions are as follows: Version Number | Status
2 (latest) | Current 1 | Previous You later realize that you have made a mistake in updating the secret content for version 2 and want to rollback to version 1. What should you do to rollback to version 1?
Create a new secret version 3 and set to Pending. Copy the content of version 1 into version 3.
Deprecate version 2 (latest). Create new Secret version 3. Create soft link from version 3 to version 1.
- From the version 2 (latest) menu, select "Rollback" and select version 1 when given the option.
- From the version 1 menu on the OCI console, select "Promote to Current". (Correct) Explanation: To promote an existing secret version to current: Open the navigation menu, click Identity & Security, and then click Vault. Under List Scope, in the Compartment list, click the name of the compartment that contains the vault that has the secret that you want to update. From the list of vaults in the compartment, click the vault name. Click Secrets, and then click the name of the secret that you want to update to use a different secret version. (If needed, first change the list scope to the compartment that contains the secret.) Make a different secret version the current secret version by doing one of the following: Click Edit, click Current Version, and then click the version number you want to promote. When you're ready, click Save Changes. Under Secret Version List, locate the version number that you want to promote, click the Actions icon (three dots) for that secret version, and then click Promote to Current. Confirm the promotion by clicking Promote to Current. Question 16: You have a block volume created in the US West (Phoenix) region. You enabled Cross Region Replication for the volume and selected US West (San Jose) as the destination region. Now, you would like to create a new volume from the volume replica in the US West (San Jose) region.
oci kms crypto encrypt --key-id ocid1.key.oc1.iad.bbptfrr5aaeuk.abuwcljt32arg6e6xlswgluvc52lnrtk62jq7jenfejfxlhb 6nkav3zhsta --plaintext foobar --endpoint https://bbptfrr5aaeuk-management.kms.us- ashburn-1.oraclecloud.com What could be the most likely reason for this error?
- The plaintext needs to be in the JSON form.
- The developer has the wrong endpoint. (Correct)
- The developer should pass the key version OCID instead of the key OCID.
- The developer forgot to specify the region. Explanation: Each vault has a unique endpoint for create, update, and list operations for keys. This endpoint is referred to as the control plane URL or management endpoint. Each vault also has a unique endpoint for cryptographic operations. This endpoint is known as the data plane URL or the cryptographic endpoint. When using the CLI for key operations, you must provide the appropriate endpoint for the type of operation. oci kms crypto encrypt --key-id <key_OCID> --plaintext <base64_string> --endpoint < data_plane_url > If you look at the endpoint in command (in the question), https://bbptfrr5aaeuk- management. kms.us-ashburn-1.oraclecloud.com , it is wrong endpoint - I t's not a data plane endpoint, rather it is a management endpoint.
Question 18: You want to have an exact copy of your database system to demonstrate the feasibility of a method you have in mind. You decide to clone your database system. Which of the following statement is true about cloning a database system?
- Cloning creates a copy of the source DB system as it exists at the time of the cloning operation, including the storage configuration software and database volumes. (Correct)
- Cloning creates a copy of the source DB system as it exists at an earlier time, including the storage configuration software and database volumes.
- Cloning creates a copy of the source DB System as it exists at a later time, including the storage configuration software and database volumes.
- Cloning creates a copy of the source DB system as it exists at the time of scheduling the cloning operation, including the storage configuration software and database volumes. Explanation: Cloning creates a copy of a source DB system as it exists at the time of the cloning operation , including the storage configuration software and database volumes. More Read on Cloning a DB System: Clone a DB System (oracle.com) Question 19: You are part of an organization with thousands of users accessing Oracle Cloud Infrastructure (OCI). An unknown user action was executed resulting in configuration