Showing posts with label Cloud. Show all posts
Showing posts with label Cloud. Show all posts

Oracle Cloud Infrastructure AI Foundations

 Practice Exam: Oracle Cloud Infrastructure AI Foundations

1 In the context of machine learning, what does "overfitting" refer to?
Ans: A model that performs well on the training data but poorly on new data.

2.What is the primary goal of fine-tuning a Large Language Model (LLM)?
Ans: To adjust the pretrained model's parameters using a smaller, task-specific dataset, thereby improving its performance on specific tasks.

3. What is OCI Document Understanding primarily used for?
Ans: Automating document processing tasks

4 What is the role of the loss function in supervised learning algorithms?
Ans: It quantifies the cost of incorrect predictions.

5. Which of these is NOT a common application of unsupervised machine learning?
Ans: Spam detection

6. Which AI domain is primarily associated with the task of detecting and recognizing faces in images or videos?
Ans: Vision

7: What technique is used to predict the price of a house based on its features?
Ans: Regression

8. Which customization method can add latency to each request made to the LLM?
Ans: Retrieval Augmented Generation (RAG)

9. Which generative AI model has been particularly influential in Large Language Models (LLMs) for large-scale text generation and advanced natural language understanding?
Ans: Transformer-based models

10. Which optimization method requires a labeled dataset that can be most expensive and time-consuming to acquire compared to others?
Ans: Fine-tuning

11. When preparing data for a Machine Learning model, what are typically considered as input features?
Ans: Data collected after the model has made predictions

12. What does Retrieval Augmented Generation (RAG) involve?
Ans: Querying enterprise knowledge bases to provide grounded responses

13. Which type of model is most effective for sequence-to-sequence tasks such as machine translation?
Ans: Encoder-Decoder Transformer

14. Which algorithm is a nonparametric approach for supervised learning?
Ans: K-Nearest Neighbors (KNN)

15. What is one of the main challenges RNNs face when processing sequential data?
Ans: They struggle with understanding relationships between words that are far apart.

16. Which type of machine learning algorithm is used in predicting house prices?
Ans: Supervised Regression

17. In supervised learning, what does the term "hyperparameter" refer to?
Ans: A parameter set before training the model

18. What type of data is most likely to be used with Deep Learning algorithms?
Ans: Complex data with nonhuman interpretable features

19. How does Select AI enhance the interaction with Oracle Autonomous Database?
Ans: By enabling natural language prompts instead of SQL code

20. What is the main function of the encoder in a Transformer model?
Ans: To convert input text into embeddings

21. Which deep learning architecture is well-suited for processing sequential data such as sentences?
Ans: Recurrent Neural Network (RNN)

22. In the SQL Query Generation Process Flow, what is the second step after creating an AI Profile?
Ans: Specify Schemas and Tables

23. What is the primary goal of reinforcement learning?
Ans: To maximize cumulative reward

24. What is the purpose of the self-attention mechanism in Transformer-based models?
Ans: To model dependencies between different elements in a sequence

25. Which statement best describes the primary difference between Large Language Models (LLMs) and traditional Machine Learning (ML) models?
Ans: LLMs are pretrained on a large text corpus whereas ML models need to be trained on the custom data.

26. What is the primary capability of the OCI Language service?
Ans: Process unstructured data and extract insights

27. What role do tokens play in Large Language Models (LLMs)?
Ans: They are individual units into which a piece of text is divided during processing by the model.

28. What is the primary problem associated with vanishing gradients in Recurrent Neural Networks (RNNs)?
Ans: RNNs get extremely small gradients during backpropagation.

29. Which is NOT a part of Oracle Responsible AI guidelines?
Ans: Ensuring equality

30. What is the primary function of the inference process in machine learning?
Ans: Predicting outcomes from new data points

31. Question: world scenario?
Ans: Supervised learning is used for training models with labeled data, unsupervised learning is used for discovering hidden patterns in unlabeled data, and reinforcement learning is used for decision-making in dynamic environments.

32. Which task uses Generative AI?
Ans: Video generation

33. What is the role of a target variable in supervised learning?
Ans: It contains the desired output or class labels.

34. Which component of feedforward neural network is responsible for processing input data and forwarding it through various layers to make predictions?
Ans: Hidden Layer

35.  An online bank wants to streamline the loan approval process. They have historical data on past loan applicants, including information on applicants' credit score, annual income, employment status, and whether they repaid the loan or defaulted.
Which machine learning algorithm can be used for this application?
Ans: Supervised Machine learning for classification

36. What is the primary role of Graphics Processing Units (GPUs) in modern computing?
Ans: Accelerating graphics rendering and parallel processing

37. You are writing poems. You need your computer to help you complete your lines by suggesting right words. Which Deep Learning model is well-suited for this task?
Ans: Recurrent Neural Network (RNN)

38. Which components are required to configure your data for natural language queries in Oracle Database 23ai?
Ans: Choose an LLM and Specify Schemas, Tables, and Views


39. Which AI domain can be used in the detection of fraudulent transactions?
Ans: 

40. In the context of machine learning, what does "overfitting" refer to?
Ans: 

Oracle AI In Fusion Cloud Enterprise Resource Planning (ERP) Test

 Oracle AI In Fusion Cloud Enterprise Resource Planning (ERP)

1. Which two criteria must your system meet before implementing AI Apps for Financials?
Ans: Must have six months of consumable data from Production
     Must not be a government instance

2. What job role must be provisioned to a user who is implementing AI Apps for Financials?
Ans: Application Implementation Consultant

3. What does ODA stand for?
Ans: Oracle Digital Assistant

4. In which two ways can users leverage Expenses Digital Assistant to enter expenses and create expense reports?
Ans: Use apps such as Slack, Microsoft Teams, Outlook and so on to create expense items.
     Take photos of receipts and upload to Expenses Digital Assistant.

5. Which type of Oracle's AI approach does the ERP fusion feature "Intelligent Document Combination Defaulting" use?
Ans: Non-Generative

6. What is the primary benefit of the Intelligent Accont Combination Defaulting feature?
Ans: It automates routing data entry and eliminates errors.

7. Which component does Oracle Digital Assistant use from its architecture to interact with applications such as Expenses?
Ans: Channels

8. What explains the significance of leveraging Pervasive AI?
Ans: It is strategically designed to be integrated across various business processes to enhance user experience by improving automation of tasks.

9. Which process trains the AI model in ERP Financials?
Ans: Data Ingestion

10. The integration of AI with financials has numerous benefits.
Which are two reasons for organizations to adopt AI features in ERP applications?
Ans:
Improved decision making, cost effective, and reduced error occurrence
Enables organizations to improve overall customer experience and retention

Oracle Cloud Applications Foundation Assessment Sample Q&A

Cloud Applications Foundation Assessment Overview Test Q&A

 1. Choose three statements that correctly define the benefits of Cloud Applications.
Ans: Instant Scalability
No software to license, install, and support for the SaaS application
Pay as you go basis

2. Which feature of Oracle Cloud Applications allows customers to leverage the new functionality immediately?
Ans: Automatic Updates


3. Which four Oracle Fusion Cloud Human Capital Management Services help manage a company's global workforce?
Ans: Recruiting and Hiring employees
Performance Management, Learning, and Succession Planning
Strategic Workforce Planning
Benefits and Global Payroll

4. Which four of the following processes are part of the employee life cycle?
Ans: Transfer
Hire
Termination
Promotion

5. Identify the UX methodology on which Oracle’s cloud applications are based on
Ans: Redwood Design


6. Which three of the following processes are part of Enterprise Resource Planning?
Ans: Financial Consolidation and Close
Revenue Management
Risk and Compliance

7. Which three of the following processes are part of Supply Chain Management?
Ans: Warehouse Management
Transportation Management
Inventory

8. Which Application can sellers use to quickly meet their customers’ pricing needs?
Ans: Oracle Configure, Price, Quote (CPQ)


9. Which Oracle CX Product helps manage leads and opportunities?
Ans: Oracle Sales Cloud

10. Which of the below capability enables cloud applications to provide built-in innovation and gives the ability to respond faster to a dynamic marketplace?
Ans: Machine Learning and Artificial Intelligence

Oracle Cloud Infrastructure Generative AI Professional (1Z0-1127-24) Test: Practice Exam

 Test: Practice Exam: Oracle Cloud Infrastructure Generative AI Professional

1. Which LangChain component is responsible for generating the linguistic output in a chatbot system?
LLMs 

2. How does the structure of vector databases differ from traditional relational databases?
Ans: It is based on distances and similarities in a vector space. 

3. How can the concept of "Groundedness" differ from "Answer Relevance" in the context of Retrieval Augmented Generation (RAG)?
Ans: Groundedness pertains to factual correctness, whereas Answer Relevance concerns query relevance. 

4. What does the RAG Sequence model do in the context of generating a response?
Ans: For each input query, it retrieves a set of relevant documents and considers them together to generate a cohesive response. 

5. How does the temperature setting in a decoding algorithm influence the probability distribution over the vocabulary?
Ans: Increasing the temperature flattens the distribution, allowing for more varied word choices. 

6. Given the following code block: history = StreamlitChatMessageHistory(key="chat_messages")
memory = ConversationBufferMemory(chat_memory=history)

Which statement is NOT true about StreamlitChatMessageHistory?
Ans: StreamlitChatMessageHistory can be used in any type of LLM application. 

7. Which statement is true about string prompt templates and their capability regarding variables?
Ans: They support any number of variables, including the possibility of having none. 

8. What is the purpose of Retrievers in LangChain?
Ans: To retrieve relevant information from knowledge bases 

9. Which statement is true about Fine-tuning and Parameter-Efficient Fine-Tuning (PEFT)?
Ans: Fine-tuning requires training the entire model on new data, often leading to substantial computational costs, whereas PEFT involves updating only a small subset of parameters, minimizing computational requirements and data needs. 

10. What does a cosine distance of 0 indicate about the relationship between two embeddings?
Ans: They are similar in direction 

11. What does the Loss metric indicate about a model's predictions?
Ans: Loss is a measure that indicates how wrong the model's predictions are.

12. What is the purpose of Retrieval Augmented Generation (RAG) in text generation?
Ans: To generate text using extra information obtained from an external data source 

13. In the context of generating text with a Large Language Model (LLM), what does the process of greedy decoding entail?
Ans: Choosing the word with the highest probability at each step of decoding 

14. Accuracy in vector databases contributes to the effectiveness of Large Language Models (LLMs) by preserving a specific type of relationship. What is the nature of these relationships, and why are they crucial for language models?
Ans: Semantic relationships; crucial for understanding context and generating precise language 

15. In which scenario is soft prompting appropriate compared to other training styles?
Ans: When there is a need to add learnable parameters to a Large Language Model (LLM) without task-specific training 

16. What is LangChain?
Ans: A Python library for building applications with Large Language Models 

17. Why is it challenging to apply diffusion models to text generation?
Ans: Because text representation is categorical unlike images 

18. When does a chain typically interact with memory in a run within the LangChain framework?
Ans: After user input but before chain execution, and again after core logic but before output 

19. When is fine-tuning an appropriate method for customizing a Large Language Model (LLM)?
Ans: When the LLM does not perform well on a task and the data for prompt engineering is too large 

20. In the simplified workflow for managing and querying vector data, what is the role of indexing?
Ans: To map vectors to a data structure for faster searching, enabling efficient retrieval 

21. Which is a characteristic of T-Few fine-tuning for Large Language Models (LLMs)?
Ans: It selectively updates only a fraction of the model's weights. 

22. What does accuracy measure in the context of fine-tuning results for a generative model?
Ans: How many predictions the model made correctly out of all the predictions in an evaluation 

23. What do prompt templates use for templating in language model applications?
Ans: Python's str.format syntax 

24. How does a presence penalty function in language model generation?
Ans: It penalizes a token each time it appears after the first occurrence. 

25. How are documents usually evaluated in the simplest form of keyword-based search?
Ans: Based on the presence and frequency of the user-provided keywords 

Oracle Cloud Infrastructure 2024 Generative AI Professional (1Z0-1127-24) Test

 OCI Generative AI Professional

Test: Skill Check: Fundamentals of Large Language Models
1. What does in-context learning in Large Language Models involve?
Ans: Conditioning the model with task-specific instructions or demonstrations 

2. What is prompt engineering in the context of Large Language Models (LLMs)?
Ans: Iteratively refining the ask to elicit a desired response 

3. What is the role of temperature in the decoding process of a Large Language Model (LLM)?
Ans: To adjust the sharpness of probability distribution over vocabulary when selecting the next word 

4. What does the term "hallucination" refer to in the context of Language Large Models (LLMs)?
Ans: The phenomenon where the model generates factually incorrect information or unrelated content as if it were true 

5. Which statement accurately reflects the differences between these approaches in terms of the number of parameters modified and the type of data used?
Ans:Fine-tuning modifies all parameters using labeled, task-specific data, whereas Parameter Efficient Fine-Tuning updates a few, new parameters also with labeled, task-specific data. 

Test: Skill Check: OCI Generative AI Service Deep Dive

1. What is the main advantage of using few-shot model prompting to customize a Large Language Model (LLM)?
Ans: It provides examples in the prompt to guide the LLM to better performance with no training cost. 

2. Which is a distinctive feature of GPUs in Dedicated AI Clusters used for generative AI tasks?
Ans: The GPUs allocated for a customer’s generative AI tasks are isolated from other GPUs.

3. What is the purpose of embeddings in natural language processing?
To create numerical representations of text that capture the meaning and relationships between words or phrases 

4. What is the purpose of frequency penalties in language model outputs?
Ans: To penalize tokens that have already appeared, based on the number of times they have been used 

5. What happens if a period (.) is used as a stop sequence in text generation?
Ans: The model stops generating text after it reaches the end of the first sentence, even if the token limit is much higher. 

Test: Skill Check: Building Blocks for an LLM Application

1. Which is a key characteristic of Large Language Models (LLMs) without Retrieval Augmented Generation (RAG)?
Ans: They rely on internal knowledge learned during pretraining on a large text corpus. 

2. What differentiates Semantic search from traditional keyword search?
Ans: It involves understanding the intent and context of the search. 

3. What do embeddings in Large Language Models (LLMs) represent?
Ans: The semantic content of data in high-dimensional vectors 

4. What is the function of the Generator in a text generation system?
Ans: To generate human-like text using the information retrieved and ranked, along with the user's original query 

5. What does the Ranker do in a text generation system?
Ans: It evaluates and prioritizes the information retrieved by the Retriever. 

Test: Skill Check: Build an LLM Application using OCI Generative AI Service

1. How are chains traditionally created in LangChain?
Ans: Using Python classes, such as LLM Chain and others 

2. What is the purpose of memory in the LangChain framework?
Ans: To store various types of data and provide algorithms for summarizing past interactions 

3. What is LCEL in the context of LangChain Chains?
Ans: A declarative way to compose chains together using LangChain Expression Language 

4. What is the function of "Prompts" in the chatbot system?
Ans: They are used to initiate and guide the chatbot's responses. 

5. How are prompt templates typically designed for language models?
Ans: As predefined recipes that guide the generation of language model prompts 

Oracle Cloud Infrastructure 2023 AI Foundations Associate (1Z0-1122-23) Test

Oracle Cloud Infrastructure 2023 AI Foundations Associate (1Z0-1122-23) Sample Test

AI foundation:

Skill Check: Module 1: AI Basics---
1. Which task is an example of a speech-related AI task?
Ans: Speech-to-text conversion

2. Which is NOT an example of vision or image-related AI task?
Ans: Image Compression 

3. Which task is a Generative AI task?
Ans: Writing a poem based on a given theme 

4. Which machine learning approach would have an autonomous driving agent trained to make driving decisions by receiving rewards or penalties based on its actions?
Ans: Reinforcement Learning 

5. Which type of Machine Learning algorithms extract trends from data?
Ans: Unsupervised Machine Learning 

Skill Check: Module 2: Machine Learning Foundation

1. What is a key characteristic of logistic regression?
Ans: Logistic regression fits an S-shaped curve to the data. 

2. Which type of Machine Learning algorithm learns from outcomes to make decisions?
Ans: Reinforcement Learning 

3. Which application does NOT require a Machine Learning solution?
Ans: Password Validation 

4. What type of Machine Learning algorithm is used when we want to predict the resale price on a residential property?
Ans: Regression 

5. Which type of learning is used in identifying fraudulent bank transactions?
Ans: Outlier analysis 

Skill Check: DL Basics
1. Which type of Recurrent Neural Network (RNN) architecture is used for Machine Translation?
Ans: Many-to-Many 

2. Which neural network has a feedback loop and is designed to handle sequential data?
Ans: Recurrent Neural Networks 

3. Which sequence model can maintain relevant information over long sequences?
Ans: Long Short-Term Memory Neural Networks 

4. Which essential component of Artificial Neural Network performs weighted summation and applies activation function on input data to produce an output?
Ans: Neuron 

5. How do hidden layers in neural networks help with character recognition?
Ans: By enabling the network to learn complex features such as edges and shapes 

Test: Skill Check: Generative AI

1. Which statement accurately describes generative AI?
Ans: Creates new content without making predictions 

2. What is "in-context learning" in the context of large language models (LLMs)?
Ans: Providing a few examples of a target task via the input prompt 

3. Sequence models are used to solve problems involving sequentially ordered data points or events. Which is NOT the best use case for sequence models?
Ans: Image classification and object recognition 

4. Fine-tuning is unnecessary for Large Language Models (LLMs) if your application does not involve which specific aspect?
Ans: Task specific adaptation 

5. Which aspect of Large Language Models significantly impacts their capabilities, performance, and resource requirements?
Ans: Model size and parameters, including the number of tokens and weights 


Skill Check: OCI AI Portfolio
1. Which OCI Data Science feature enables you to define and run repeatable Machine Learning tasks on fully managed infrastructure?
Ans: Jobs 

2. What is the primary value proposition of Machine Learning in Oracle Database?
Ans: Eliminates data movement, empowers users with Machine Learning, and offers a simpler architecture 

3. Which is NOT an Oracle Cloud Infrastructure AI service?
Ans: Translator 

4. What is the advantage of using OCI Superclusters for AI workloads?
Ans: Deliver exceptional performance and scalability for complex AI tasks 

5. Which OCI Data Science feature allows you to use catalogued models as HTTP endpoints on fully managed infrastructure?
Ans: Model Deployments

Test: Skill Check: OCI AI Services
1. What types of data are commonly used for the OCI Anomaly Detection service?
Ans: Time-Series

2. Which language is NOT supported by the OCI Speech service?
Ans: Mandarin

3. Which OCI AI service is used to extract tabular content from documents?
Ans: Document Understanding

4. Which capability of OCI Vision service uses a bounding box inside an image?
Ans: Object Detection

5. Which capability is offered by the OCI Language service?
Ans: Text Sentiment Analysis

Test: 1Z0-1122-23 - Oracle Cloud Infrastructure 2023 AI Foundations Associate

OCI AI Foundations: Practice Exam

1. Which is NOT a part of Oracle Responsible AI guidelines?
Ans: Ensuring equality

2. Which type of machine learning algorithm is used in predicting house prices?
Ans: Supervised Regression

3. What is the purpose of the self-attention mechanism in Transformer-based models?
Ans: To model dependencies between different elements in a sequence

4. An online bank wants to streamline the loan approval process. They have historical data on past loan applicants, including information on applicants' credit score, annual income, employment status, and whether they repaid the loan or defaulted.

Which machine learning algorithm can be used for this application?
Ans: Supervised Machine learning for classification

5. Which AI domain is primarily associated with the task of detecting and recognizing faces in images or videos?
Ans: Vision

6. What is the primary problem associated with vanishing gradients in Recurrent Neural Networks (RNNs)?
Ans: RNNs struggle to handle long sequences of data.

7. What is the goal of prompt engineering in the context of Large Language Models?
Ans: Crafting of specific instructions or queries for the model

8. When preparing data for a Machine Learning model, what are typically considered as input features?
Ans: Attributes that provide information for making predictions

9. Which AI domain can be used in the detection of fraudulent transactions?
Ans: Anomaly Detection

10. What is the primary role of Graphics Processing Units (GPUs) in modern computing?
Ans: Accelerating graphics rendering and parallel processing

11. Which component of feedforward neural network is responsible for processing input data and forwarding it through various layers to make predictions?
Ans: Input Layer

12. What is OCI Document Understanding primarily used for?
Ans: Automating document processing tasks

13. What is the primary capability of the OCI Language service?
Ans: Process unstructured data and extract insights

14. Which deep learning architecture is well-suited for processing sequential data such as sentences?
Ans: Recurrent Neural Network (RNN)

15. Which tasks uses Generative AI?
Ans: Video generation

Oracle Cloud Infrastructure 2023 Foundations Associate (1Z0-1085-23)

 


Practice Exam: Oracle Cloud Infrastructure Foundations

1. Which is a key characteristic of an Oracle Cloud Infrastructure Block Volume?
Ans: It is automatically replicated within an availability domain for high durability.

2. Which type of Oracle Cloud Infrastructure networking gateway allows access to Oracle services within the same region without traversing the public internet?
Ans: Service Gateway

3. In the Oracle Cloud Infrastructure Object Storage service, which storage tier is designed for rarely or seldom accessed data that can be restored within hours?
Ans: Archive Storage

4. What is the primary function of a Route Table in Oracle Cloud Infrastructure Networking Service?
Ans: To define rules to route traffic from subnets to destinations outside the VCN 

5. In OCI Networking, what is the role of a Dynamic Routing Gateway (DRG)?
Ans: To provide a path for traffic between a VCN and an on-premises network or another VCN 

6. Which of the following is NOT a type of OCI Compute instance?
Ans: Nano instances 

7. Which is a key difference between Security Lists and Network Security Groups in Oracle Cloud Infrastructure?
Ans: Security Lists apply to subnets, while Network Security Groups apply to individual instance VNICs. 

8. Which Oracle Cloud Infrastructure service is designed to protect your web applications from various types of malicious attacks, such as SQL injection and cross-site scripting?
Ans: Web Application Firewall (WAF)

9. Which data transfer types is generally free of charge in Oracle Cloud Infrastructure?
Ans: Ingress data transfer 

10. In the Oracle Cloud Infrastructure Block Volume service, which feature enables you to increase the size of a block volume without any downtime?
Ans: Online Resizing 

11. How are compartment quotas applied in Oracle Cloud Infrastructure?
Ans: On a per-compartment basis 

12. Which tool in Oracle Cloud Infrastructure allows you to visualize and analyze your cloud usage and spending patterns over time?
Ans: Cost Analysis 

13. Which protocol is used by the Oracle Cloud Infrastructure File Storage service for file access?
Ans: NFS (Network File System) 

14. Which is a key benefit of using Oracle Cloud Infrastructure Autonomous Database?
Ans: Reduced database management overhead 

15. Which Oracle Cloud Infrastructure service continuously monitors your cloud resources and configurations to detect, assess, and remediate security risks?
Ans: Cloud Guard 

16. Which type of scaling is achieved by adding or removing instances within an instance pool in Oracle Cloud Infrastructure Compute?
Ans: Horizontal scaling 

17. In the Oracle Cloud Infrastructure Compute service, which feature enables users to migrate running instances between different physical servers?
Ans: Live Migration 

18. In Oracle Cloud Infrastructure, which component is responsible for controlling traffic between subnets within a virtual cloud network (VCN)?
Ans: Security Lists 

19. Which Oracle Cloud Infrastructure Autonomous Database workload type is designed for real-time analytics and reporting?
Ans: Autonomous Data Warehouse (ADW) 

20. What is the main advantage of vertical scaling in the Oracle Cloud Infrastructure Compute service?
Ans: Enhanced performance with more OCPUs and memory 

21. In Oracle Cloud Infrastructure, what is the main difference between a Load Balancer and a Network Load Balancer?
Ans: A Load Balancer works at the application layer (layer 7), while a Network Load Balancer works at the transport layer (layer 4). 

22. What is the primary purpose of setting up budgets in Oracle Cloud Infrastructure?
Ans: To monitor and control spending on OCI services 

23. Which of the following statements about compartments in Oracle Cloud Infrastructure is NOT true?
Ans: Compartments provide a way to store and manage encryption keys and secrets. 

24. What is the primary goal of distributing resources across multiple availability domains in Oracle Cloud Infrastructure?
To improve fault tolerance and high availability 

25. What type of storage is associated with instances in the Oracle Cloud Infrastructure Compute service?
Ans: Block Storage 

26. Which attribute can be customized when creating an Oracle Cloud Infrastructure Compute flexible shape instance?
Ans: Number of OCPUs and amount of memory 

27. Which type of load balancing policy is supported by Oracle Cloud Infrastructure Load Balancer?
Ans: Round Robin 

28. How does Oracle Cloud Infrastructure's Bring Your Own License (BYOL) feature help customers save on costs?
Ans: By allowing customers to use existing software licenses in OCI 

29. In Oracle Cloud Infrastructure, which component of an IAM policy statement defines the user or group the policy applies to?
Ans: Principal 

30. What is the term used to describe the combination of an instance's shape, base image, and metadata in the Oracle Cloud Infrastructure Compute service?
Ans: Instance Configuration 

31. What are the two types of workloads supported by Oracle Cloud Infrastructure Autonomous Database?
Ans: Transaction Processing and Data Warehousing 

32. Which of the following is NOT a component of an IAM policy statement in Oracle Cloud Infrastructure?
Ans: Encryption 

33. In the Oracle Cloud Infrastructure shared security responsibility model, who is responsible for securing the customer's data, applications, and access control?
Ans: The customer 

34. In the context of Oracle Cloud Infrastructure Autonomous Database, what does the self-securing feature provide?
Ans: Automatic application of security patches and protection from threats

35.What is the main benefit of using Oracle Cloud Infrastructure Security Zones for resource management?
Ans: Enforcing best practice security configurations

Oracle Cloud Discover and Train in CyberSecurity

Test: Skill Check: Building a Second-Gen Secure Cloud

 1. Which is NOT an example of operational security?

Ans: Coding standard

2. Which statement is NOT true about OCI Gen2 cloud platform?

Ans: It is a SaaS service

3. Which factor is NOT considered for risk evaluation of a data center site?

Ans: News report on cyber ri sks

4. Which design principal in OCI Gen2 cloud protects against VM escape attacks?

Ans: Isolated network virtualization

5. An application developer who develops applications in a development environment is found to be accessing the production environment.

Which security practice has been violated?

Ans: Principle of least privilege


Test: Skill Check: Oracle Cloud Security Services

1. You want to add another step of user verification along with password authentication.

What should you use to achieve this?

Ans: Multi-factor Authentication


2. Your IT team has created a web-based marketing site that needs to be protected against internet threats including Cross-Site Scripting (XSS) and SQL Injection.

Which OCI security service should they use?

Ans: Web Application Firewall


3. You want to centrally manage the encryption keys and secret credentials that protect your data.

What should you use to achieve this?

Ans: Vault 


4. Which key encryption algorithm is NOT supported by the OCI Vault service?

Elliptic curve digital signature algorithm (ECDSA)

Ans: JSON Web Algorithm (JWA)


5. Which statement is true about Security Zones?

Ans: They are associated with a compartment.


Test: Skill Check: Processes and People

1. Which is a guide for developers to produce secure code?

Ans: Oracle Secure Coding Standards

2. Which cloud provider has a cloud interoperability partnership with Oracle Cloud Infrastructure?

Ans: Microsoft Azure

3. Which security team follow the security methodology of collect, detect, respond, and remediate?

Ans: Defensive Security Team

4. Which design points are Oracle Cloud Infrastructure services engineered to meet?

Ans: Service-level objectives

5. Which is NOT a compliance document?

Ans: SOP


Oracle Cloud Infrastructure Foundations 2023 Sample Q&A

1. Test: OCI Introduction 2023 Sample Q&A
1. Which capability can be used to protect against failures within an OCI availability domain?
Ans: Fault Domain

2. Which statement about regions and availability domains is true?
Ans: An OCI region has one or more availability domains.

3. Which Oracle Cloud Infrastructure service is NOT intended for a multicloud solution?
Ans: Oracle Roving Edge Infrastructure

4. You have subscribed to an OCI region that has one availability domain. You want to deploy a highly available application with two servers and a 2-node database. How would you place the components to maintain the high availability of the application?
Ans: Place one server and a DB node in one fault domain, and the second server and DB node in another fault domain.

5. Which statement about OCI is NOT true?
Ans: A single fault domain can be associated with multiple availability domains within a region.

4 Test: Skill Check: Identity and Access Management (IAM)
1. Which is NOT a component of OCI Identity and Access Management?
Ans: Network Security Group

2. How is a resource in OCI identified?
Ans: With OCID

3. Which Identity and Access Management component helps to organize multiple users into a team?
Ans: Groups

4. Which statement about OCI compartments is NOT true?
Ans: It is a best practice to create all your resources in the root compartment.

5. Which statement about OCI Identity and Access Management is true?
Ans: It enables you to control access for a group of users.

5. Test: Skill Check: Networking
1. Which OSI layer traffic is supported by the OCI Network Load Balancer?
Ans: Layer 4 (transport)

2. Which statement about Virtual Cloud Network (VCN) peering between two VCNs is NOT valid?
Ans: A VCN peering connection is a VPN-based connection.

3. Which VCN component blocks inbound traffic, but enables outbound traffic to the internet?
Ans: NAT Gateway

4. Which component is NOT created by default with the creation of a Virtual Cloud Network?
Ans: Default Local Peering Gateway

5. Which statement about a Virtual Cloud Network (VCN) is true?
Ans: A VCN can reside only in a single region but can span multiple availability domains.

6.Test: Skill Check: Compute
1. What is the primary purpose of Oracle Cloud Infrastructure Functions?
Ans: To execute code in response to events or HTTP requests

2. Which statement about the working of autoscaling in an instance pool is true?
Ans: It automatically provisions and removes instances in an instance pool.

3. Which two parameters can be customized when creating a flexible shape compute instance?
Ans: Number of OCPUs
Amount of memory

4. Which processor type is NOT available for the OCI Compute service?
Ans: Snapdragon

5. Which type of storage is associated with instances in the OCI Compute service?
Ans: Block Storage

7. Test: Skill Check: Storage
1. You have an extremely high performance database workload that requires at least 90 IOPS/GB and 90,000 IOPS per volume. Which OCI Block Volume performance level can be used to meet this requirement?
Ans: Ultra High Performance

2. In the Oracle Cloud Infrastructure Object Storage Service, what is the primary purpose of a pre-authenticated request URL?
Ans: To provide temporary and secure access to a specific object.

3. What feature of the Oracle Cloud Infrastructure Block Volume service ensures data durability and protection against hardware failures?
Ans: Replication

4. You want to store the backup of a database in cloud storage for an extended period. Which type of storage would you configure for these files?
Ans: Archive Storage

5. You have created an Object Storage bucket of Archive tier. Which statement is NOT valid for the Archive Storage tier?
Ans: The Archive storage bucket can be upgraded to Standard storage.

8. Test: Skill Check: Database
1. Which feature of Oracle Autonomous Database enables automatic database optimizations without manual intervention?
Ans: Self-driving

2. Which type of processing does MySQL HeatWave primarily enable MySQL to handle efficiently?
Ans: Online Analytical Processing (OLAP)

3. How does MySQL HeatWave enable accelerated query performance?
Ans: By using in-memory data storage

4. Which is NOT a supported workload type for Oracle Autonomous Database?
Ans: MySQL

5. In the context of Oracle Autonomous Database, what does the self-repairing feature ensure?
Ans: Automatic database recovery in case of failures

9. Test: Skill Check: Security
1. In the OCI shared security responsibility model, who is responsible for securing the underlying cloud infrastructure?
Ans: Oracle

2. Which of the following is NOT a component of the Oracle Cloud Infrastructure Vault service?
Ans: Database backup

3. What is the main advantage of using OCI Security Zones when deploying resources in your cloud environment?
Ans: Ensuring adherence to security best practices and policies

4. What is the primary purpose of the Oracle Cloud Infrastructure Vault service?
Ans: To store and manage encryption keys and secrets

5. Which option is NOT a component of Oracle Cloud Guard?
Ans: Targets

10. Test: Skill Check: Governance and Administration
1. In Oracle Cloud Infrastructure, what is the key difference between service limits and compartment quotas?
Ans: Service limits are set by Oracle for a tenancy or region, while compartment quotas are user-defined for specific compartments.

2. Which type of traffic is charged under data transfer costs in Oracle Cloud Infrastructure?
Ans: Egress to the internet is charged.

3. Which is NOT a factor that influences pricing in Oracle Cloud Infrastructure?
Ans: Choice of OCI region

4. In Oracle Cloud Infrastructure, what can you set up to receive notifications when budget thresholds are reached?
Ans: Email alerts

5. Which is NOT a supported Oracle Cloud Infrastructure pricing model?
Ans: Sovereign subscriptions

Oracle Fusion Date Format

Oracle Fusion BIP

 TO_DATE(accountion_date, 'RRRR/MM/DD HH24:MI:SS')

 TO_DATE(TO_CHAR(accountion_date, 'RRRR/MM/DD HH24:MI:SS'),'RRRR/MM/DD HH24:MI:SS')

TO_CHAR( TO_DATE(accountion_date, 'RRRR/MM/DD HH24:MI:SS'),'DD-MM-YYYY')

 TO_DATE(nvl(:P_FROM_Period,TO_CHAR(ail.accountion_date, 'RRRR/MM/DD HH24:MI:SS')),'RRRR/MM/DD HH24:MI:SS')

Oracle Cloud Infrastructure 2022 Cloud Operations Professional (1Z0-1067-22)

OCI 2022 Cloud Operations Professional (1Z0-1067-22)

Test: Skill Check: Introduction Part 1

1. Which of the following is an advantage of Auth Token-based authentication over API key-based authentication?
Ans: Security 

2. Suppose you want to provision 100 identical compute instances. Which would be the most appropriate tool to use?
Ans: OCI CLI 

3. Which of the following call the OCI API? (Select all that apply.)
Ans: Cloud Console 
Terraform 
OCI SDK 
OCI CLI 

4. Which two statements are true regarding the Cloud Shell?
The Cloud Shell has the OCI CLI, as well as other development tools, pre-installed. 
The Cloud Shell automates OCI CLI authentication for your user.

5. Which three of the following are authentication methods of the OCI CLI?
Ans: Auth Token/Security Token
Instance Principle

Practice Exam: OCI Cloud Operations Professional

1. Which Oracle Cloud Infrastructure Service allows customers to configure routing policies for serving intelligent responses to DNS queries?
Ans: Traffic Management 

2. Which three tasks can be performed using Ansible?
Ans: Workflow automation 
     Application deployment 
 
3. Which service intercepts HTTP/S traffic and passes them through a set of filters and rules to protect against attack streams?
Ans: WAF 

4. A working Linux instance stops responding. What is the correct way to troubleshoot the issue?
Ans: Create an instance console connection and check the console logs. 

5. Which three are components of a Monitoring Query Language expression?
Ans: interval 
statistics 
metric 
6. Which statement is true about the Oracle Cloud Infrastructure audit logs retention period?
Ans: You can configure log retention for up to 365 days. 

7. All the backend server health status indicators report OK, but the load balancer does not pass traffic on a listener. What are two possible causes for this?
Ans: Listeners are configured to listen on the wrong port. 
     Listeners are using the wrong protocol. 

8. Which two statements are true about the Oracle Cloud Infrastructure Cost Analysis Tool?
Ans: Costs can be filtered by Date, Tags, and Compartments. 
The tool can only be accessed by members of the ADMINISTRATOR group. 

9. Which three algorithms are supported by Vault?
Ans: RSA 
     ECDSA 
     AES 

10. Which Oracle Cloud Infrastructure service enables you to set up communication channels to publish messages using topics and subscriptions?
Ans: Notification 

11. Which three can leverage the Oracle Cloud Infrastructure Traffic Management Service?
Ans: Controlled migration from a data center to Oracle Cloud Infrastructure 
     Serving different responses for internal users and external users 
Steering traffic to other cloud providers and enterprise data centers 
 
12. How can you provide user access to an existing compartment in Oracle Cloud Infrastructure?
Ans: By adding users to a group and defining a policy to provide group access to the compartment 

13. You are an admin for an Oracle Cloud Infrastructure tenancy and you are using the Monitoring Service to monitor your team's cloud resource usage.

Which is true regarding the Monitoring Service?
Ans: The Monitoring Service uses metrics to monitor resources and alarms to notify about metrics. 

14. Which two statements are true about Object Storage replication?
Ans: It protects from regional outages and helps in disaster recovery. 
Replication overwrites any object in the destination bucket that has the same name as an object in the source bucket.  

15. You have created the following JSON file to implement a lifecycle policy for one of your Oracle Cloud Infrastructure Object Storage buckets:
oci os object-lifecycle-policy put -ns MyNamespace -bn MyBucket --items '[
{
""action"": ""ARCHIVE"",
""is-enabled"": true,
""name"": ""ArchiveAfter30Days"",
""object-name-filter"": {
""inclusion-prefixes"": [
""documents""
]
},
""time-amount"": 30,
""time-unit"": ""DAYS""
},
{
""action"": ""DELETE"",
""is-enabled"": true,
""name"": ""DeleteAfter180Days"",
""object-name-filter"": {
""inclusion-prefixes"": null
},
""time-amount"": 180,
""time-unit"": ""DAYS""
}
]'

How will this policy affect the objects that are stored in the bucket?
Ans: Objects containing the name prefix “documents” will automatically be moved from Standard Object Storage to Archive Storage after 30 days and then deleted 180 days after the date of creation. 

16. Which Traffic Management Steering Policy dynamically routes traffic requests based on the originating IP prefix?
Ans: IP Prefix Steering 

17. Which is the most secure place to store secret keys on Oracle Cloud Infrastructure?
Ans: Vault 

18. Which action do you need to perform to push a new image to the Oracle Cloud Infrastructure (OCI) Registry?
Ans: Generate an auth token to complete the authentication via Docker CLI. 

19. The backups for a block volume are triggered every week and retained for 4 weeks. Additional ones are created every month, which are retained for 12 months. Which automated policy is configured for this backup?
Ans: Silver 

20. What is the Oracle Cloud Infrastructure Command Line Interface used for?
Ans: Automating simple, repeatable actions 

21. What is the default location of the file created to organize the servers managed by Ansible?
Ans: /etc/ansible/hosts 

22. If traffic does not flow correctly, which three might cause issues in the IPSec connection?
Ans: Overlapping CIDRs 
An inconsistent ping result from on-premises to the Oracle Cloud Infrastructure device 
Multiple SPIs with policy-based tunnels 

23. Which two show the correct scope for setting up Oracle Cloud Infrastructure budgets?
Ans: Compartment 
Cost-tracking tag 

24. Which three SDKs are supported on Oracle Cloud Infrastructure?
Ans: Go 
Java 
TypeScript 
25. What is the difference between service limits and compartment quotas?
Ans: Service limits are set by Oracle, while compartment quotas are set by administrators.

26. What is used to automate copying block volume backups from one region to another seamlessly?
Ans: User-defined backup policy 

27. Which statement is FALSE regarding multipart uploads?
Ans: Uploads cannot be restarted if they fail due to a network issue. 

28. Which three are valid use cases for using Oracle Cloud Infrastructure cost-tracking tags?
Ans: Track resource usage based on tags. 
Filter projected costs based on tags. 
Set up budgets based on resources grouped by tags. 
29. Which alarm state is seen if the alarm metric is no longer being emitted?
Ans: Reset

30. A user is unable to mount a file system to access the data from a local data center via VPN.

What is causing the issue?
Ans: The instance is in a different region. 

31. Where are the Oracle Cloud Infrastructure block volume backups stored?
Ans: In the Object Storage 

32. Which Oracle Cloud Infrastructure Service monitors endpoints across a hybrid infrastructure?
Ans: Health Checks 

33. Which three are typical responses from WAF?
Ans: Audit log the request 
        Allow the request to pass 
        An error page due to a blocked request 

34. What is the measurement related to the health, capacity, or performance of a given resource called?
Ans: Metric 

35. To better manage resource utilization in your environment, you have decided to create alerts that notify your team each time a new compute instance is created. Which two resources do you need to create to accomplish this task?
Ans: Create a new topic in the Notifications Service and subscribe your email address to the topic. 
Create a rule in the Event Service that is activated by the Instance - Launch End event type. 

36. You are using Terraform to create a sandbox environment for the development team. This environment consists of an Oracle Cloud Infrastructure virtual cloud network, two compute resources, and a database instance. As part of the Terraform configuration, you need to run a script on the two compute instances that will configure the connection to the database. Which Terraform feature should you leverage to accomplish this task?
Ans: The remote-exec provisioner 

37. Which three Terraform actions can be executed against a Stack in the Resource Manager?
Ans: Apply 
Plan 
Destroy 

Oracle Cloud Infrastructure Operations 2021 Associate (1Z0-1067-21)

***Practice Exam For - Oracle Cloud Infrastructure Operations 2021 Associate (1Z0-1067-21)***

2 : Automating Cloud Tasks --------------------------

1. Which statements are true about using Ansible on OCI? (Choose three)
(Choose all correct answers)
Ans:
You can use Ansible to execute a shell command on a collection of hosts. 
You can use Ansible to create and destroy OCI resources, such as compute instances and load balancers. 
You can use Ansible to restart Apache on all web servers as defined in inventory. 

2. Your team recently deployed a custom Java application to a collection of 10 OCI Compute instances. The application is used only for 10 hours each day. To save money, you devise a plan to stop the instances at the end of the day when they are no longer needed, and start them each morning shortly before they will be used.
Which would be the easiest method to implement this plan?
Ans: Use the OCI Command Line Interface. 

3. Which is NOT a supported SDK on Oracle Cloud Infrastructure?
Ans: PHP SDK 

4. Examine the command:
oci os ns get
Why would you need to execute this command?
Ans: to check the connectivity to OCI 

5. You recently joined the Site Reliability team at a new company and found out that their most heavily used application uses immutable instances within the Web tier. During a cursory review of the monitoring dashboard, you notice that 1 of the 11 instances appears to be unhealthy.
Which action would you perform first to resolve this issue?
Ans: Terminate the instance and replace it using the appropriate image.  

3 : Operational Activities on OCI ---------------------

1. At which level is versioning defined in object storage?
Ans: bucket level 

2. You are managing two applications that consist of multiple compute instances with multiple block volumes. You want to create backups of block volumes efficiently.
How would you do this?
Ans: Group together multiple block volumes into a volume group and create volume group backups. 

3. Which statement is true about Object Storage replication?
Ans: After the replication is enabled, the destination bucket becomes read-only. 

4. Which statement is true about attaching a volume to multiple instances?
Ans: It does not provide coordination for concurrent reads. 

5. What are the advantages of using OS Management Service? (Choose two)
(Choose all correct answers)
Ans:
It enables you to manage updates and patches for the operating system on OCI instances. 
It removes common vulnerabilities

4 : Troubleshooting OCI Services  --------------------------------

1. In which scenarios does the load balancer health status prove helpful? (Choose two)
(Choose all correct answers)
Ans: VCN network security groups or security list blocks traffic. 
     Route tables are not configured properly to connect to a compute. 

2. What are the various statuses returned by Health check? (Choose two)
(Choose all correct answers)
Ans: CONNECT_FAILED 
     INVALID_STATUS_CODE

3. Which is a common error during block storage multi attach?
Ans: Block volume is not configured in shareable mode. 

4. Which is a common error when connecting to a compute using SSH at the client side?
Ans: permission error for the private key 

5. Which are the types of instance console connections? (Choose two)
(Choose all correct answers)
Ans: VNC console connections
    Serial console connections
5 : Securing OCI  --------------------------------
1. What is the retention period for Audit logs by default?
Ans: 365 days 

2. Which are the various algorithms supported by OCI Vault Service? (Choose three)
(Choose all correct answers)
RSA 
ECDSA 
AES 

3. Which statements are true about Web Application Firewall (WAF)? (Choose two)
(Choose all correct answers)
It intercepts HTTP/S traffic and passes it through a set of rules. 
It protects from attacks over the web application. 

4. Which resources can be managed by using the OCI Vault service? (Choose three)
(Choose all correct answers)
secrets 
keys 
vaults 

5. Which statements are true about OCI Audit service? (Choose three)
(Choose all correct answers)
It retains the audit logs by default for 365 days. 
It logs all calls to API endpoints. 
It is supported by all OCI services. 

6 : Test: Skill Check: Monitoring, Notification, Logging  --------------------------------

1. In which scenarios can OCI Notifications service be used? (Choose three)
(Choose all correct answers)
Ans: 
to publish a message 
to get notified when alarms are fired 
to get notified when event rules are triggered 

2. Which are the various alarm states of the alarm feature in the Monitoring service? (Choose three)
(Choose all correct answers)
Ans: Suspended 
     Firing 
     Reset 

3. Which statements are true about the OCI Notifications service? (Choose two)
(Choose all correct answers)
Ans: It broadcasts messages to distributed components in a publish-subscribe pattern. 
    It enables you to set up communication channels for publishing messages. 

4. Which are the different ways to access monitoring service? (Choose four)
(Choose all correct answers)
Ans: 
OCI Console 
REST API 
Terraform 
SDK 

5. Which statement is true about the Monitoring service?
Ans: The Monitoring service uses metrics to monitor resources and alarms to notify about metrics. 

7.Test: Skill Check: Pricing, Billing, Support ----------------------

1. Which are the different Pricing models available? (Choose three)
(Choose all correct answers)
Ans: 
Bring Your Own License 
Pay As You Go 
Monthly Flex 

2. Which can be used for setting up Oracle Cloud Infrastructure (OCI) budgets? (Choose two)
(Choose all correct answers)
Ans: compartment 
     cost-tracking tag 
 
3. Which are the various factors that impact pricing? (Choose three)
(Choose all correct answers)
Ans: 
type of resource 
services consumed 
data transfer 

4. Which reports would you use to analyze the spending in the Oracle Cloud Infrastructure tenancy?
Ans: Usage reports 

5. Which of the following are covered in end-to-end SLAs? (Choose three)
(Choose all correct answers)
Ans: manageability 
     performance 
    availability 

Oracle Cloud Security Drivers and Challenges

 Test: Skill Check: Cloud Security Drivers and Challenges

1. In which offering is the cloud provider typically responsible for security for the entire technology stack?
Ans: SaaS 

2. Which is NOT a finding of the Oracle and KPMG Cloud Threat Report 2020?
Ans: 3/4th of all respondents feel their data center is more secure than the cloud. 

3. Which approach is best suited for dealing with zero-day threats, by employing threat prediction?
Ans: Machine Learning 

4. Which is NOT a CISO goal?
Ans: Get involved in public cloud projects only after a cybersecurity incident. 

5. According to the Verizon Data Breach Investigations Report, who was behind a majority of data breaches?
Ans: External actors

OCI Operations Associate Workshop Sample Q&A

 Automating Cloud Tasks


1. Which statements are true about using Ansible on OCI? (Choose three)
Ans:
You can use Ansible to create and destroy OCI resources, such as compute instances and load balancers. 
You can use Ansible to collect billing and usage data for your OCI tenancy.
You can use Ansible to execute a shell command on a collection of hosts. 
You can use Ansible to restart Apache on all web servers as defined in inventory. 

2. Your team recently deployed a custom Java application to a collection of 10 OCI Compute instances. The application is used only for 10 hours each day. To save money, you devise a plan to stop the instances at the end of the day when they are no longer needed, and start them each morning shortly before they will be used.
Which would be the easiest method to implement this plan?
Ans:
Use the OCI Command Line Interface. 

3. Which is NOT a supported SDK on Oracle Cloud Infrastructure?
Ans: PHP SDK 

4. You recently joined the Site Reliability team at a new company and found out that their most heavily used application uses immutable instances within the Web tier. During a cursory review of the monitoring dashboard, you notice that 1 of the 11 instances appears to be unhealthy.
Which action would you perform first to resolve this issue?
Ans: Terminate the instance and replace it using the appropriate image. 

5. Examine the command: oci os ns get
Why would you need to execute this command?
Ans: to check the connectivity to OCI 

OCI Operations 2021 Associate (1Z0-1067-21) Certification (Practice Exam) Sample

***Practice Exam For - Oracle Cloud Infrastructure Operations 2021 Associate (1Z0-1067-21)***

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1. Which three are valid use cases for using Oracle Cloud Infrastructure cost-tracking tags?
Ans: set up budgets based on resources grouped by tags 
     filter projected costs based on tags 
     track resource usage based on tags 
 
2. You have created the following JSON file to implement a lifecycle policy for one of your Oracle Cloud Infrastructure Object Storage buckets:
oci os object-lifecycle-policy put -ns MyNamespace -bn MyBucket --items '[
{
""action"": ""ARCHIVE"",
""is-enabled"": true,
""name"": ""ArchiveAfter30Days"",
""object-name-filter"": {
""inclusion-prefixes"": [
""documents""
]
},
""time-amount"": 30,
""time-unit"": ""DAYS""
},
{
""action"": ""DELETE"",
""is-enabled"": true,
""name"": ""DeleteAfter180Days"",
""object-name-filter"": {
""inclusion-prefixes"": null
},
""time-amount"": 180,
""time-unit"": ""DAYSYou are using Terraform to create a sandbox environment for the development team. This environment consists of an Oracle Cloud Infrastructure virtual cloud network, two compute resources, and a database instance. As part of the Terraform configuration, you need to run a script on the two compute instances that will configure the connection to the database. Which Terraform feature should you leverage to accomplish this task""
}
]'

How will this policy affect the objects that are stored in the bucket?
Ans: Objects containing the name prefix “documents” will automatically be moved from Standard Object Storage to Archive Storage after 30 days and then deleted 180 days after the date of creation. 

3. Which three are typical responses from WAF?
Ans: An error page due to a blocked request 
     Allow the request to pass 
     Audit log the request 
 
4. Which two statements are true about Object Storage replication?
Ans: Replication overwrites any object in the destination bucket that has the same name as an object in the source bucket. 
     It protects from regional outages and helps in disaster recovery. 
 
5. Which three tasks can be done using Ansible?
Ans: Application deployment 
     Audit 
     Workflow automation  
 
6. Which three can leverage the Oracle Cloud Infrastructure Traffic Management Service?
Ans: Steering traffic to other cloud providers and enterprise data centers 
     Controlled migration from a data center to Oracle Cloud Infrastructure 
     Serving different responses for internal users and external users 
   
7. Which three Terraform actions can be executed against a Stack in the Resource Manager?
Ans: Apply 
     Plan 
     Destroy 
 
8. Which three are components of a Monitoring Query Language expression?
Ans: statistics 
     metric 
     interval 
 
9. Where are the Oracle Cloud Infrastructure block volume backups stored?
Ans: In the Object Storage  
 
10. Which three SDKs are supported on Oracle Cloud Infrastructure?
Ans: Java 
     TypeScript 
     Go 

11. A user is unable to mount a file system to access the data from a local data center via VPN.
What is causing the issue?
Ans: The instance is in a different region. 

12. Which service intercepts HTTP/S traffic and passes them through a set of filters and rules to protect against attack streams?
Ans: WAF 

13. What is used to automate copying block volume backups from one region to another seamlessly?
Ans: User-defined backup policy 

14. Which Oracle Cloud Infrastructure service enables you to set up communication channels to publish messages using topics and subscriptions?
Ans: Notification 

15. Which three algorithms are supported by Vault?
Ans: ECDSA 
     AES 
     RSA 
 
16. If the traffic does not flow correctly, which three might cause issues in the IPSec connection?
Ans: Overlapping CIDRs 
     An inconsistent ping result from on-premises to the Oracle Cloud Infrastructure device 
     Multiple SPIs with policy-based tunnels 
 
17. To better manage resource utilization in your environment, you have decided to create alerts that notify your team each time a new compute instance is created. Which two resources do you need to create to accomplish this task?
Ans: Create a rule in the Event Service that is activated by the Instance - Launch End event type. 
     Create a new topic in the Notifications Service and subscribe your email address to the topic. 
 
18. A working Linux instance stops responding. Which is the correct way to troubleshoot the issue?  
Ans: Create an instance console connection and check the console logs 

19. What is the default location of the file created to organize the servers managed by Ansible?
Ans: /etc/ansible/hosts 
 
20. You are using Terraform to create a sandbox environment for the development team. This environment consists of an Oracle Cloud Infrastructure virtual cloud network, two compute resources, and a database instance. As part of the Terraform configuration, you need to run a script on the two compute instances that will configure the connection to the database. Which Terraform feature should you leverage to accomplish this task?
Ans: The remote-exec provisioner  

21. Which Oracle Cloud Infrastructure Service allows customers to configure routing policies for serving intelligent responses to DNS queries?
Ans: Traffic Management 

22. The backups for a block volume are triggered every week and retained for four weeks. Additional ones are created every month, which are retained for twelve months. Which Automated policy is configured for this backup?
Ans: Silver 

23. Which statement is true about the Oracle Cloud Infrastructure audit logs retention period?
Ans: You can configure log retention for up to 365 days. 

24. You are an admin for an Oracle Cloud Infrastructure tenancy and you are using the Monitoring Service to monitor your team’s cloud resource usage.
Which is true regarding the Monitoring Service?
Ans: The Monitoring Service uses metrics to monitor resources and alarms to notify about metrics. 

25. What is the Oracle Cloud Infrastructure Command Line Interface used for?
Ans: automating simple, repeatable actions 

26. What is the most secure place to store secret keys on Oracle Cloud Infrastructure?
Ans: Vault 

27. Which action do you need to perform to push a new image to the Oracle Cloud Infrastructure (OCI) Registry?
Ans: Generate an auth token to complete the authentication via Docker CLI. 

28. Which Traffic Management Steering Policy dynamically routes traffic requests based on the originating IP prefix?
Ans: IP Prefix Steering 

29. How can you provide user access to an existing compartment in Oracle Cloud Infrastructure?
Ans: by adding users to a group and defining a policy to provide group access to the compartment 

30. All the backend server health status indicators report OK, but the load balancer does not pass traffic on a listener. What are two possible causes of this issue?
Ans: Listeners are configured to listen on the wrong port. 
     Listeners are using the wrong protocol. 
 
31. Which two statements are true about the Oracle Cloud Infrastructure Cost Analysis Tool?
Ans: Costs can be filtered by Date, Tags, and Compartments. 
     The tool can only be accessed by members of the ADMINISTRATOR group. 
 
32. What is the difference between service limits and compartment quotas?
Ans: Service limits are set by Oracle, while compartment quotas are set by administrators. 

33. Which statement is FALSE regarding multipart uploads?
Ans: Uploads cannot be restarted if they fail due to a network issue. 
 
34. Which two options show the correct scope for setting up Oracle Cloud Infrastructure budgets?
Ans: Cost-tracking tag 
     Compartment  
 
35. Which Oracle Cloud Infrastructure Service monitors endpoints across a hybrid infrastructure?
Ans: Health Checks 

36. Which alarm state is seen if the alarm metric is no longer being emitted?
Ans: Reset 

37. What is the measurement related to the health, capacity, or performance of a given resource called?
Ans: Metric 
 






OCI 2021 Architect Professional (1Z0-997-21) Certification (Practice Exam) Sample

Practice Exam for the Oracle Cloud Infrastructure 2021 Architect Professional (1Z0-997-21) Certification

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1. You are working as a security consultant with a global insurance organization which is using Microsoft Azure Active Directory as an identity provider to manage user login/passwords. When a user logs in to Oracle Cloud Infrastructure (OCI) console, it should get authenticated by Azure AD.
Which set of steps are required to be configured in OCI to meet this requirement?
Ans: Setup Azure AD as an Identity Provider, map Azure AD groups to OCI groups, set up the IAM policies to govern access to Azure AD groups.

2. A global media organization is working on a project which lets users upload their videos to the site. After upload is complete, the video should be automatically processed by an AI algorithm. The algorithm will try to recognize certain actions in the videos so that it can be used to show related advertisements in future. The development team wants to focus on writing AI code and not worry about underlying infrastructure for high availability, scalability, security and monitoring.
Which Oracle Cloud Infrastructure (OCI) services would meet these requirements?
Ans: OCI Object Storage, OCI Events service and OCI Functions.

3. An online gaming application is deployed to multiple Availability Domains in the Oracle Cloud Infrastructure (OCI) us-ashburn-1 region. Considering the high volume of traffic that the gaming application handles, the company has hired you to ensure that the data stored by the application is scalable, highly available, and disaster resilient. In the event of failure, the Recovery Time Objective (RTO) and Recovery Point Objective (RPO) must be less than 2 hours.
Which Disaster Recovery strategy should be used to achieve the RTO and RPO requirements in the event of a system failure?
Ans: Configure hourly block volumes backups using the OCI Command Line Interface (CLI).

4. A fast growing E-commerce company has deployed their online shopping application on Oracle Cloud Infrastructure. The application was deployed on compute instances with Autoscaling configuration for application servers fronted by a load balancer and OCI Autonomous Transaction Processing (ATP) in the backend. In order to promote their e-commerce platform 50% discount was announced on all the products for a limited period. During the day 1 of promotional period it was observed that the application is running slow and company’s hotline is flooded with complaints.
What could be two possible reasons for this situation?
Ans: Autoscaling has already scaled to the maximum number of instances specified in the configuration and there is no room for scaling further.
     The health check on some of the backend servers has failed and the load balancer has taken those servers temporarily out of rotation.

5. You are responsible for migrating your on-premises legacy databases on 11.2.0.4 version to Autonomous Transaction Processing - Dedicated (ATP-D) in Oracle Cloud Infrastructure (OCI). As a solution architect, you need to plan your migration approach.
Which three options do you need to implement together to migrate your on-premises databases to OCI?
Ans: Launch Autonomous Transaction Processing – Dedicated database in OCI.
     Use Oracle GoldenGate replication to keep on-premises database online during migration.
     Convert on-premises databases to PDB, upgrade to 19c, and encrypt.

6. An insurance company is storing critical financial data in the Oracle Cloud Infrastructure block volume. This volume is currently encrypted using oracle managed keys. Due to regulatory compliance, the customer wants to encrypt the data using the keys that they can control and not the keys which are controlled by Oracle.
What of the following series of tasks are required to encrypt the block volume using customer managed keys ?  
Ans: Create a vault, create a master encryption key in the vault, assign this master encryption key to the block volume.

7. Which of the following is NOT a good use case for the Oracle Cloud Infrastructure (OCI) Streaming service?
Ans: Meeting compliance requirements for data to remain unchanged over a long time, so that it can be retrieved for audit purposes.

8. You have been asked to review some network proposals by a major client. The client's IT director needs to provision two Virtual Cloud Network (VCN) for a major application. Both applications use a large number of virtual machine instances, and so will ideally occupy VCNs with as many address spaces as possible. Additionally, in the future, VCN peering will be required to allow communication between the VCNs.
Which of the following are valid IP ranges to consider for the VCNs?
Ans: 10.0.0.0/24 and 10.0.1.0/24

9. Which of the below options for private access to services within Oracle Cloud Infrastructure (OCI) is NOT valid?
Ans: You cannot use the private endpoint for hosts in the on-premises network.

10. As an administrator you want to give users of ObjectWriters group full access to bucket Bucket-A and its objects in compartment comp-images. You want users of ObjectWriters to not be able to access or modify properties of any other buckets and its objects in the compartment comp-images.
Select the statement(s) below that will best define your IAM policies.
Ans:  Allow group ObjectWriters to inspect buckets in compartment comp-images
     Allow group ObjectWriters to read buckets in compartment comp-images where target.bucket.name='Bucket-A'
     Allow group ObjectWriters to manage objects in compartment comp-images where target.bucket.name='Bucket-A'
 
11. You want to automate the processing of new image files to generate thumbnails. The expected rate is 10 new files every hour.
Which of the following is the most cost effective option to meet this requirement in Oracle Cloud Infrastructure (OCI)?
Ans: Upload files to an OCI Object storage bucket. Every time a file is uploaded, an event is emitted. Write a rule to filter these events with an action to trigger a function in Oracle Functions. The function processes the image in the file and stores the thumbnails back in an Object storage bucket.

12. You have deployed an application server in a private subnet in your virtual cloud network (VCN). For the database, you have provisioned an Autonomous Transaction Processing (ATP) serverless instance. However, you are unable to connect to the database instance from your application server.
Which two steps would you need to enable this connectivity?
Ans: Create a NAT Gateway and add the following route rule to the route table of private subnet.
     CIDR: 0.0.0.0/0
     Target: NAT Gateway
     Add a stateful egress rule to the security list associated with your private subnet.
     Destination CIDR: 0.0.0.0/0
     Protocols: All Protocols

13. You have an application running in Microsoft Azure and want to use Oracle Autonomous Data warehouse (ADW) instance for running business analytics.
How can you build a secure solution for such a use-case?
Ans: Setup an interconnect between OCI and Microsoft Azure using FastConnect and ExpressRoute. Use a Service Gateway in OCI Virtual Cloud Network to provide connectivity to the Oracle ADW instance for the application in Microsoft Azure VNet.

14. Your customer has gone through a recent reorganization. As part of this change, they are organizing their Oracle Cloud Infrastructure (OCI) compartment structure to align with the company's new organizational structure. (Refer to the exhibit)
exhibit

They have made the following change:
Compartment A is moved, and its new parent compartment is compartment Dev.

Policy defined in compartment A: Allow group G1 to manage instance-family in compartment A
Policy defined in root compartment: Allow group admins to manage instance-family in compartment Ops: Test: A

After the compartment move, which action will provide users of group G1 and admins with similar privileges as before the move?
Ans: Define the following policy in compartment Dev:
     Allow group G1 to manage instance-family in compartment A

15. You notice that a majority of your Oracle Cloud Infrastructure (OCI) resources like compute instances, block volumes, and load balancers are not tagged. You have received a mandate from your CIO to add a predefined set of tags to identify owners for respective OCI resources. E.g. if Chris and Larry each create compute instances in a compartment, the instances that Chris creates include tags that contain his name as the value, while the instances that Larry creates have his name.
Which option is the simplest way to implement this new tagging requirement?
Ans: Create tag variables to automatically tag a resource with the user name.

16. A manufacturing company is planning to migrate their on-premises database to Oracle Cloud Infrastructure and has hired you for the migration. Customer has provided following information regarding their existing on-premises database:
Database version, database character set, storage for data staging, acceptable length of system outage.
What additional information do you need from customer in order to recommend a suitable migration method? (Choose Two)
Ans: Data types used in the on-premises database.
     On-Premises host operating system and version.

17. You are working on the migration of the web application infrastructure of your company from on-premises to Oracle Cloud Infrastructure. You need to ensure that the DNS cache entries of external clients will not direct them to the on-premises infrastructure after switching to the new infrastructure.
Which of the following options will minimize this problem?
Ans: Reduce the TTL of the DNS records before the switch.

18. As part of planning the network design on Oracle Cloud Infrastructure, you have been asked to create an Oracle Cloud Infrastructure Virtual Cloud Network (VCN) with 3 subnets, one in each Availability Domain. Each subnet needs to have a minimum of 64 usable IP addresses.
What is the smallest subnet and VCN size you should use to implement this design? The requirements are static, so no growth is expected.
Ans: /23 for the VCN; /25 for the subnets

19. A developer is using Oracle Functions to deploy her code as part of an event-driven solution in Oracle Cloud Infrastructure (OCI). When she invokes her function, Oracle Functions returns a FunctionInvokeImageNotAvailable message and a 502 error:
{"code":"FunctionInvokeImageNotAvailable","message":"Failed to pull function image"}
Fn: Error invoking function. status: 502 message: Failed to pull function image
Which of the following options is NOT a plausible reason for this error?
Ans: OCI Events service rule is not configured with the correct location of the function in OCI Registry.

20. You have been asked to implement a bespoke financial application in Oracle Cloud Infrastructure using virtual machine instances controlled by Autoscaling across multiple Availability Domains. The application stores transaction logs, intermediate transaction data, and audit data and needs to store this on a persistent, durable data store accessible from all of the application servers. The application requires the file system to be mounted in the /audit folder on the Linux file system. The system needs to tolerate the failure of two or more Fault Domains and still maintain data integrity. The solution should be as low maintenance as possible.
What storage architecture should you suggest?
Ans: Use File Storage Service(FSS). Configure FSS to operate from all Availability Domains the application servers operate in and mount the file system in the /audit folder.

21. A cloud consultant is working on a implementation project on Oracle Cloud Infrastructure (OCI). As part of the compliance requirements, the objects placed in OCI Object Storage should be automatically archived first and then deleted. He is testing a lifecycle policy on Object Storage and created a policy as below:
[ { "name": “Archive_doc”, "action": "ARCHIVE", "objectNameFilter": { "inclusionPrefixes": [ “doc”] },
"timeAmount": 5, “timeUnit”: “DAYS”, "isEnabled": true },

{ "name": “Delete_doc”, "action": "DELETE", "objectNameFilter": { "inclusionPrefixes": [ “doc”] },
"timeAmount": 5, “timeUnit”: “DAYS”, “isEnabled": true }
]

What will happen after this policy is applied?
Ans: All objects with names starting with “doc” will be deleted after 5 days of object creation.

22. You are creating an Oracle Cloud Infrastructure Dynamic Group. To determine the members of this group you are defining a set of matching rules.
Which of the following are the supported variables to define conditions in the matching rules? (Choose Two)
Ans: tag.<tagnamespace>.<tagkey>.value - the tag namespace and tag key.
     instance.compartment.id - the OCID of the compartment where the instance resides.
 
23. Your organization is planning on using Oracle Cloud Infrastructure (OCI) File Storage Service (FSS). You will be deploying multiple compute instance in Oracle Cloud Infrastructure(OCI) and mounting the file system to these compute instances.
The file system will hold payment data processed by a Database instance and utilized by compute instances to create a overall inventory report. You need to restrict access to this data for specific compute instances and must be allowed/blocked per compute instance’s CIDR block.
Which option can you use to secure access?
Ans: Use ‘Export option’ feature of FSS to restrict access to the mounted file systems.  

24. You have created compartment called Dev for developers. There are two IAM groups for developers: group-dev1 and group-dev2. You need to write an Identity and Access Management (IAM) policy to give users in these groups access to manage all resources in the compartment Dev.
Which of the following IAM policy will accomplish this?
Ans: Allow group group-dev1 group-dev2 to manage all resources in compartment Dev

25. Your security team has informed you that there are a number of malicious requests for your web application coming from a set of IP addresses originating from a country in Europe.
Which of the following methods can be used to mitigate these type of unauthorized requests?
Ans: Web Application Firewall policy using access control rules

26. You are a solution architect working with a startup that has decided to move their workload to Oracle Cloud Infrastructure. Since their workload is small, upon architecting, you decide its sufficient to use 8 compute instances to run their workload. The company wants to use a common storage for their instances. So, you propose the idea of attaching a block volume to multiple instances to provide a common storage.
Which of the below option is NOT true for such a solution?
Ans: You can delete a block volume from one instance without detaching it from all other instances there by keeping other instance’s storage intact.

27. An E-commerce company which sells computers, tablets, and other electronics items has recently decided to move all of their on-premises infrastructure to Oracle Cloud Infrastructure (OCI). One of their on-premises application is running on an NGINX server and the Oracle Database is running in a 2 node Oracle Real Application Clusters (RAC) configuration.
They cannot afford to have any application down time when they do the migration.
What is an effective mechanism to migrate the customer application to OCI and set up regular automated backups?
Ans: Launch a compute instance and run an NGINX server to host the application. Deploy a 2 node VM DB Systems with Oracle RAC enabled. Setup Oracle GoldenGate to synchronize data from their on-premises database to OCI VM Database. Export and Import the on-premises database to OCI VM DB Systems using Oracle Data Pump, apply the GoldenGate trail files to sync up the OCI database with the on-premises database. Enable automatic backups for the OCI VM database and then cut over the application from on-premises to OCI.

28. Which of the following is NOT a good use case for using the functionality available in the Oracle Cloud Infrastructure (OCI) Events service?
Ans: Capture Monitoring Alarms and invoke Autoscaling of compute instances. 

29. You have decided to migrate your application to Oracle Cloud Infrastructure and use Oracle Functions to deploy your microservices.
Which monitoring metrics are available to help you calculate your total cost for using Oracle Functions per month? (Choose Two)
Ans: Number of times a function is invoked.
     Length of time a function runs.
 
30. An E-Commerce company wants to deploy their web application for Oracle Database on Oracle Cloud Infrastructure (OCI) DB Systems. In compliance with the business continuity program of the business, they need to provide a Recovery Point Objective (RPO) of 1 hour and a Recovery Time Objective (RTO) of 5 minutes. The web application should be highly available within the region and meet the RTO and RPO requirements in case of a region outage.
Which approach is the most suitable and cost effective configuration for this scenario?
Ans: Deploy a 2 node Virtual Machine (VM) Oracle RAC database in one region and replicate the database to a 2 node VM Oracle RAC database in another region using a manual setup and configuration of Oracle Data Guard. 

31. You are trying to troubleshoot the configuration of your Oracle Cloud Infrastructure (OCI) Load Balancing service. You have a backend HTTP service for which you have created a backend set in the load balancer. You have configured health checks for the backend set. Although the health checks appear good, customers sometimes experience transaction failures.
Which of the following options will definitely lead to this problem?
Ans: You are running a TCP-level health check against your HTTP service. The TCP handshake can succeed and indicate that the service is up even when the HTTP service has issues.

32. You are part of a project team working in the development environment created in Oracle Cloud Infrastructure (OCI). You realize that the CIDR block specified for one of the subnets in a Virtual Cloud Network (VCN) is not correct and want to delete the subnet. While deleting you get an error indicating that there are still resources that you must delete first. The error includes the OCID of the VNIC that is in the subnet.
Which of the following actions you will take to troubleshoot this issue?
Ans: Use OCI CLI to call “network vnic” and “compute vnic-attachment” operations to find out the parent resource of the VNIC. 

33. Design and implement hybrid network architectures to meet high availability, bandwidth and latency requirements
Your Oracle database is deployed on-premises and has produced 100 TB database backup locally. You have a disaster recovery plan that requires you to create redundant database backups in Oracle Cloud Infrastructure (OCI). Once the initial backup is completed, the backup must be available for retrieval in less than 30 minutes to support the Recovery Time Objective (RTO) of your solution.
Which is the most cost effective option to meet these requirements?
Ans: Use OCI Storage Gateway to transfer the backup files to OCI Object Storage Standard tier as the final destination.

34. You have configured backups for your Oracle Cloud Infrastructure (OCI) 2-node RAC DB systems on virtual machines. In the console, the database backup displays a Failed status.
Which of the following options is the most likely reason for this backup issue?
Ans: The auth token being used by the Object Store Swift endpoint is incorrect.

35. Which of the below options is true regarding Oracle Cloud Infrastructure’s load balancing service?
Ans: The public load balancer applies a floating public IP address to the primary load balancer.

36. As a solution architect, you are designing a web application to be deployed across multiple Oracle Cloud Infrastructures (OCI) regions for a global audience. Your goal is that users from each region should access the application web servers deployed in their own geographical OCI location.
Which OCI feature can be used to achieve this?
Ans: OCI Traffic Management GeoLocation steering policy

37. You have to migrate your application to Oracle Cloud Infrastructure (OCI). The database is constantly being updated and needs to be online without interruptions. How can you transition the database to OCI without interrupting its use?
Ans: Use an on-premises database with one-way synchronization to a cloud-based database and allow clients to connect only to the on-premises database until it is synchronized. 

38. You are tasked with backing up your data using Oracle Cloud Infrastructure Block Volume service.
When you are finalizing your block volume backup schedule, which of the following two are valid considerations for your backup plan?
Ans: Frequency: How often you want to back up your data. 
     Number of stored backups: How many backups you need to keep available and the deletion schedule for those you no longer need.

39. An eCommerce company is running on Oracle Cloud Infrastructure (OCI) and many compute instances remain unused for the most part of the year except during Black Friday and Christmas. You suggest them to use OCI’s Autoscaling feature and present them a slide to showcase the features of Autoscaling.
Which option below is inaccurate in your presentation to the customer?
Ans: When an instance pool scales in, instances are terminated in this order: the number of instances is balanced across Availability Domains, and then balanced across Fault Domains. Finally, within a Fault Domain, the newest instance is terminated first.

40. Which of the following is NOT a good use case for the volume backup feature of the Oracle Cloud Infrastructure Block Volume service?
Ans: Rapidly duplicate an environment in seconds to test configuration changes without impacting your production environment.

41. Which of the following features is NOT supported by Oracle Cloud Infrastructure Multi-factor authentication (MFA)?
Ans : Members of the Administrators group can enable MFA for other users.

42. You are working as a solution architect for a customer in Frankfurt, which uses multiple compute instance VMs spread among three Availability Domains in the Oracle Cloud Infrastructure (OCI) eu-frankfurt-1 region. The compute instances do not have public IP addresses and are running in private subnets inside a Virtual Cloud Network (VCN). You have set up OCI Autoscaling feature for the compute instances, but find out that instances cannot be auto scaled. You have enabled monitoring on the instances.
What could be wrong in this situation?
Ans: You need to set up a Service Gateway to send metrics to the OCI Monitoring service.

43. You have deployed a multi-tier application with multiple compute instances in Oracle Cloud Infrastructure. You want to back up these volumes and have decided to use ‘Volume Groups’ feature. The Block volume and Compute instances exist in different compartments within your tenancy.
Periodically, a few child compartments are moved under different parent compartments, and you notice that sometimes volume group backup fails.
What should be the cause ?
Ans: The Identity and Access Management policy allowing backup failed to move when the compartment was moved.

44. Many development engineers are deploying new instances as part of their projects in Oracle Cloud Infrastructure tenancy, but majority of these instances have not been tagged. You as an administrator of this tenancy want to enforce tagging to identify owners who are launching these instances.
Which option below should be used to implement this requirement?
Ans: Create a predefined tag with tag variables to automatically tag a resource with username.

45. You have been asked to create a mobile application which will be used for submitting orders by users of a popular E-Commerce site. The application is built to work with Autonomous Transaction Processing - Serverless (ATP-S) database as the backend and HTML5 on Oracle Application Express as the front end. During the peak usage of the application you notice that the application response time is very slow. ATP-S database is deployed with 3 CPU cores and 1 TB of memory.
Which two options are expensive or impractical ways to improve the application response times?
Ans: Scale up CPU core count and memory during peak times. 
       Identify the maximum CPU capacity needed for peak times and scale the CPU core count for the  ATP-S database to that number. ATP-S will scale the CPU core count down when not needed.
 
46. You are designing the network infrastructure for an application consisting of a web server (server-1) and a Domain Name Server (server-2) running in two different subnets inside the same Virtual Cloud Network (VCN) in Oracle Cloud Infrastructure (OCI). You have a requirement where your end users will access server-1 from the internet and server-2 from your customer’s on-premises network. The on-premises network is connected to your VCN over a FastConnect virtual circuit.
How should you design your routing configuration to meet these requirements?  
Ans: Configure two routing tables: first one with a route to internet via an Internet gateway; associate this route table to the subnet containing server-1.Configure the second route table to propagate specific routes to the on-premises network via a Dynamic Routing Gateway; associate this route table to subnet containing server-2.

47. A customer has a Virtual Machine instance running in their Oracle Cloud Infrastructure tenancy. They realized that they wrongly picked a smaller shape for their compute instance. They are reaching out to you to help them fix the issue.
Which of the below options is best recommended to suggest to the customer?
Ans: Change the shape of the virtual machine instance using the Change Shape feature available in the console.
     

48. You are building a demo for a customer that showcases Oracle Cloud Infrastructure (OCI) Events service and Oracle Functions. You plan to create an event every time an image is uploaded to an OCI Object Storage bucket. You have also created a function that is listening to the event and processes the image for face recognition.
Choose the two actions from below that are NOT required to run the demo successfully.
Ans: Creating an event rule is not permitted for OCI Object storage.
     The function must be deployed only to Oracle Kubernetes Engine (OKE).
 
49. A company is running High Performance Computing workloads on Oracle Cloud Infrastructure and are using OCI bare metal compute shape. They have decided to create a custom image of the bare metal instance's boot disk and use it to launch other instances.
Which of the following is a NOT a true statement?
Ans: You can create additional custom images of an instance while the instance is engaged in the image creation process.


50. There are two compartments: Networks and DevInstances
There are two groups: NetworkAdmins with a user named Nick, and Devs with a user named Dave
The following IAM policies are being used:

Allow group NetworkAdmins to manage virtual-network-family in compartment Networks
Allow group NetworkAdmins to manage instance-family in compartment Networks
Allow group Devs to use virtual-network-family in compartment Networks
Allow group Devs to manage all-resources in compartment DevInstances

Nick creates a VCN in Networks compartment. Dave creates a VCN in DevInstances compartment.

Which of the following statements is INCORRECT?
Ans: Nick launches instances in Networks using VCN in DevInstances compartment