Skip to content

Oracle Cloud (OCI) Interview Questions – IAM, TENANCY & COMPARTMENTS

Q: What is an Oracle Cloud Tenancy?

A: An Oracle Cloud tenancy is a secure, isolated, and logically partitioned space where you can create, organize, and administer your cloud resources, such as compute instances, storage volumes, and networking components.


Q: What is a Compartment in Oracle Cloud?

A: A compartment is a logical container within a tenancy that allows you to group and isolate your cloud resources. Compartments are used to enforce access control policies and simplify resource management.


Q: How do you create a new compartment in Oracle Cloud?

A: You can create a new compartment in the Oracle Cloud Infrastructure Console by clicking on the “Compartments” tab, and then clicking the “Create Compartment” button. You will need to provide a name, a description, and the parent compartment (if any).


Q: How do you move resources between compartments in Oracle Cloud?

A: You can move resources between compartments in the Oracle Cloud Infrastructure Console by selecting the resources you want to move, clicking on the “Actions” menu, and then selecting “Move Resources”. You will need to choose the destination compartment and confirm the move.


Q: How do you list the compartments in your Oracle Cloud tenancy using the CLI?

A: You can list the compartments in your Oracle Cloud tenancy using the CLI by running the following command: “oci iam compartment list –compartment-id <your-tenancy-ocid>”. This will return a list of all compartments in your tenancy.


Q: How do you create a new compartment using the CLI?

A: You can create a new compartment using the CLI by running the following command: “oci iam compartment create –name <compartment-name> –description <compartment-description> –compartment-id <parent-compartment-ocid>”. You will need to replace the placeholders with the appropriate values.


Q: How do you move resources between compartments using the CLI?

A: You can move resources between compartments using the CLI by running the following command: “oci resource-manager stack move –stack-id <stack-ocid> –compartment-id <destination-compartment-ocid>”. This will move the specified stack to the destination compartment.


Q: What is a root compartment in Oracle Cloud?

A: The root compartment is the top-level compartment in your Oracle Cloud tenancy. It is automatically created when you sign up for Oracle Cloud and cannot be deleted. All other compartments are created within the root compartment.


Q: How do you restrict access to a compartment in Oracle Cloud?

A: You can restrict access to a compartment in Oracle Cloud by creating an IAM policy that specifies which users or groups can access the compartment. The policy can be applied at the compartment level or at the tenancy level. For example, you can create a policy that grants read-only access to a specific compartment for a certain group of users.


Q: How do you view the details of a compartment in Oracle Cloud?

A: You can view the details of a compartment in Oracle Cloud by selecting the compartment in the Oracle Cloud Infrastructure Console and clicking on the “Compartment Details” tab. This will show you information such as the compartment ID, the parent compartment (if any), and the resources contained within the compartment.


Q: How can you create a new tenancy in Oracle Cloud?

A: You can create a new tenancy in Oracle Cloud by signing up for a new Oracle Cloud account. During the sign-up process, you will be prompted to provide your contact information and credit card details. You can then select the type of Oracle Cloud services you want to use and configure your tenancy accordingly.


Q: What is the purpose of a home region in Oracle Cloud?

A: A home region is the region in which your tenancy is initially created. This region is used as the default region for your tenancy and is where your tenancy-level resources, such as identity and access management (IAM) policies and networking components, are stored.


Q: How can you change the home region of your tenancy in Oracle Cloud?

A: You cannot change the home region of your tenancy once it has been created. If you need to use a different region as your default region, you will need to create a new tenancy in that region.


Q: How can you manage access to resources within a compartment in Oracle Cloud?

A: You can manage access to resources within a compartment by creating IAM policies that define who can access those resources and what actions they are allowed to perform. You can also use tags to categorize resources and control access based on those tags.


Q: What is a tag in Oracle Cloud?

A: A tag is a label that you can apply to resources in Oracle Cloud to help you categorize and manage those resources. You can use tags to group resources based on attributes such as cost center, environment, or project.


Q: How can you create a tag namespace in Oracle Cloud?

A: You can create a tag namespace in Oracle Cloud by selecting the “Tag Namespaces” tab in the Oracle Cloud Infrastructure Console and clicking on the “Create Tag Namespace” button. You will need to provide a name for the namespace and specify whether it is a customer-defined or Oracle-defined namespace.


Q: How can you apply a tag to a resource in Oracle Cloud using the CLI?

A: You can apply a tag to a resource in Oracle Cloud using the CLI by running the following command: “oci resource-manager resource-tag-attach –resource-id <resource-ocid> –tag-namespace <tag-namespace> –tag <tag-value>”. This will attach the specified tag to the resource.


Q: How can you view the tags applied to a resource in Oracle Cloud?

A: You can view the tags applied to a resource in Oracle Cloud by selecting the resource in the Oracle Cloud Infrastructure Console and clicking on the “Tags” tab. This will show you the tag namespace and tag values associated with the resource.


Q: What is a dynamic group in Oracle Cloud?

A: A dynamic group is a collection of resources in Oracle Cloud that share a common set of attributes. Dynamic groups are used to simplify access control by allowing you to apply IAM policies to all resources in the group.


Q: How can you create a dynamic group in Oracle Cloud using the CLI?

A: You can create a dynamic group in Oracle Cloud using the CLI by running the following command: “oci identity dynamic-group create –name <group-name> –description <group-description> –matching-rule <matching-rule>”. You will need to replace the placeholders with the appropriate values. The matching rule specifies the criteria that resources must meet to be included in the group.


Q: How can you create a policy in Oracle Cloud that grants access to a compartment?

A: You can create a policy in Oracle Cloud that grants access to a compartment by creating a new policy in the IAM console and specifying the compartment ID in the policy’s statements. For example, you could create a policy that grants a user or group read-only access to a specific compartment by using the “allow” statement with the “iam.compartments.get” permission.


Q: What is a policy in Oracle Cloud?

A: A policy in Oracle Cloud is a set of rules that define who can access a resource and what actions they are allowed to perform on that resource. Policies are used to enforce access control and can be applied to resources at the compartment or tenancy level.


Q: How can you create a new user in Oracle Cloud?

A: You can create a new user in Oracle Cloud by using the IAM console or the CLI. To create a user in the console, you would navigate to the “Users” tab, click the “Create User” button, and provide the user’s details. To create a user using the CLI, you would run the “oci iam user create” command and provide the user’s name, description, and email address.


Q: How can you grant access to a specific resource within a compartment in Oracle Cloud?

A: You can grant access to a specific resource within a compartment by creating a policy that grants access to that resource’s OCID. For example, you could create a policy that grants a user or group read-only access to a specific compute instance by using the “allow” statement with the “core.instance.get” permission and the instance’s OCID.


Q: What is a service limit in Oracle Cloud?

A: A service limit in Oracle Cloud is the maximum amount of a resource that you can provision within a given region or tenancy. Service limits are used to prevent over-provisioning and ensure that resources are used efficiently.


Q: How can you view your current service limits in Oracle Cloud?

A: You can view your current service limits in Oracle Cloud by navigating to the “Service Limits” tab in the Console. This will display a list of all the services for which you have limits, along with the current usage and maximum limit for each.


Q: How can you request a service limit increase in Oracle Cloud?

A: You can request a service limit increase in Oracle Cloud by creating a support ticket in the Oracle Cloud Infrastructure Console or by contacting Oracle support. You will need to provide details about the service for which you need a limit increase and the reason for the increase.


Q: What is the Oracle Cloud Infrastructure API?

A: The Oracle Cloud Infrastructure API is a set of REST APIs that allow you to programmatically manage your Oracle Cloud resources. The API can be used to create, delete, update, and retrieve resources, as well as to perform other management tasks.


Q: How can you generate an API signing key for your Oracle Cloud tenancy?

A: You can generate an API signing key for your Oracle Cloud tenancy by navigating to the “API Keys” tab in the Console, clicking the “Add API Key” button, and selecting “Generate API Key Pair”. This will generate a public and private key pair that can be used to authenticate API requests.


Q: What is an availability domain in Oracle Cloud?

A: An availability domain is a data center within a region that is isolated from other availability domains. Each availability domain contains a separate set of networking resources, which provides redundancy and fault tolerance.


Q: How can you launch a compute instance in a specific availability domain in Oracle Cloud?

A: You can launch a compute instance in a specific availability domain in Oracle Cloud by selecting the desired availability domain when you create the instance. In the Console, you can choose the availability domain under the “Placement Configuration” section of the instance creation form. In the CLI, you can specify the availability domain using the “–availability-domain” option.


Q: What is a virtual cloud network (VCN) in Oracle Cloud?

A: A virtual cloud network is a private network within an Oracle Cloud region that is used to connect and isolate resources. A VCN is composed of subnets, route tables, security lists, and other networking components.


Q: How can you create a new VCN in Oracle Cloud?

A: You can create a new VCN in Oracle Cloud by selecting the “Virtual Cloud Networks” tab in the Console and clicking the “Create Virtual Cloud Network” button. You will need to provide a name for the VCN, select a compartment, and specify the CIDR block for the network.


Q: How can you create a new subnet within a VCN in Oracle Cloud?

A: You can create a new subnet within a VCN in Oracle Cloud by selecting the “Subnets” tab in the Console and clicking the “Create Subnet” button. You will need to provide a name for the subnet, select the VCN and availability domain, and specify the CIDR block for the subnet.


Q: What is an Internet Gateway in Oracle Cloud?

A: An Internet Gateway is a networking component in Oracle Cloud that provides access to the public Internet for resources within a VCN. An Internet Gateway is used to enable outbound traffic from a VCN, as well as to allow inbound traffic from the Internet to specified resources.


Q: How can you create a new Internet Gateway in Oracle Cloud?

A: You can create a new Internet Gateway in Oracle Cloud by selecting the “Internet Gateways” tab in the Console and clicking the “Create Internet Gateway” button. You will need to provide a name for the gateway and specify the compartment in which it will be created.


Q: What is a route table in Oracle Cloud?

A: A route table is a networking component in Oracle Cloud that specifies the routing rules for a VCN. A route table is used to control the traffic flow between subnets and to determine the next hop for traffic.


Q: How can you create a new route table in Oracle Cloud?

A: You can create a new route table in Oracle Cloud by selecting the “Route Tables” tab in the Console and clicking the “Create Route Table” button. You will need to provide a name for the table and specify the compartment and VCN for which it will be created.


Q: What is IAM in Oracle Cloud?

A: IAM stands for Identity and Access Management, which is the service that allows you to manage users, groups, and policies in Oracle Cloud. IAM is used to control access to resources and to ensure that resources are used in a secure and compliant manner.


Q: How can you create a new user in IAM using the CLI?

A: You can create a new user in IAM using the CLI by running the following command: “oci iam user create –name <user-name> –description <user-description> –compartment-id <compartment-ocid>”. You will need to replace the placeholders with the appropriate values.


Q: How can you create a new group in IAM using the Console?

A: You can create a new group in IAM using the Console by selecting the “Groups” tab and clicking the “Create Group” button. You will need to provide a name for the group and specify the compartment in which it will be created.


Q: How can you attach a policy to a group in IAM using the CLI?

A: You can attach a policy to a group in IAM using the CLI by running the following command: “oci iam group update –group-id <group-ocid> –add-policy <policy-ocid>”. You will need to replace the placeholders with the appropriate values.


Q: What is IDCS in Oracle Cloud?

A: IDCS stands for Oracle Identity Cloud Service, which is a cloud-based identity management platform that provides authentication, authorization, and user management services for Oracle Cloud and other cloud services.


Q: How can you enable MFA for a user in IDCS?

A: You can enable MFA (multi-factor authentication) for a user in IDCS by selecting the user in the IDCS console, clicking the “Security” tab, and then clicking the “Enable MFA” button. You can then choose the MFA method you want to use, such as SMS or a mobile app.


Q: What is a policy in IAM?

A: A policy in IAM is a set of rules that define who can access a resource and what actions they are allowed to perform on that resource. Policies are used to enforce access control and can be applied to resources at the compartment or tenancy level.


Q: How can you create a new policy in IAM using the Console?

A: You can create a new policy in IAM using the Console by selecting the “Policies” tab and clicking the “Create Policy” button. You will need to provide a name for the policy, specify the policy statements, and choose the compartment in which the policy will be created.


Q: How can you create a compartment landing zone in Oracle Cloud?

A: You can create a compartment landing zone in Oracle Cloud by using the Oracle Cloud Infrastructure Resource Manager service. The Resource Manager service allows you to define a set of standardized resources, policies, and security controls that can be used to create new compartments that adhere to your organization’s standards and best practices.


Q: How can you apply a compartment landing zone using the CLI?

A: You can apply a compartment landing zone using the CLI by running the following command: “oci resource-manager job create-apply-job –config-source <config-source> –tf-var <var-file>”. You will need to replace the placeholders with the appropriate values. The config source specifies the location of the Terraform configuration files, and the var file specifies any required variables.


Q: How can you create a new group in IAM using the CLI?

A: You can create a new group in IAM using the CLI by running the following command: “oci iam group create –name <group-name> –description <group-description> –compartment-id <compartment-ocid>”. You will need to replace the placeholders with the appropriate values.


Q: What is the purpose of IAM policies in Oracle Cloud?

A: IAM policies are used to control access to resources in Oracle Cloud. Policies define who can access a resource and what actions they are allowed to perform on that resource.


Q: How can you manage access to resources in Oracle Cloud using IAM policies?

A: You can manage access to resources in Oracle Cloud using IAM policies by creating policies that define who can access those resources and what actions they are allowed to perform. You can create policies at the compartment or tenancy level, and you can use policy statements to define specific access rules.


Q: How can you view the policies attached to a user or group in IAM?

A: You can view the policies attached to a user or group in IAM by selecting the user or group in the IAM console and clicking the “Policies” tab. This will show you the list of policies attached to the user or group.


Q: What is MFA in Oracle Cloud?

A: MFA (multi-factor authentication) is a security feature in Oracle Cloud that requires users to provide additional authentication factors in addition to their password. MFA can help protect against unauthorized access and data breaches.


Q: How can you enable MFA for an Oracle Cloud user using the CLI?

A: You can enable MFA for an Oracle Cloud user using the CLI by running the following command: “oci iam user update –user-id <user-ocid> –auth-tokens-enabled true”. This will enable MFA for the specified user.


Q: What is the difference between a group and a compartment in IAM?

A: A group is a collection of users in IAM, while a compartment is a logical container for resources in Oracle Cloud. Groups are used to simplify access control by allowing you to apply policies to all users in the group, while compartments are used to organize and manage resources within a tenancy.


Q: What is a dynamic group in IAM?

A: A dynamic group is a collection of resources in Oracle Cloud that share a common set of attributes. Dynamic groups are used to simplify access control by allowing you to apply policies to all resources in the group.


Q: How can you create a dynamic group in IAM using the CLI?

A: You can create a dynamic group in IAM using the CLI by running the following command: “oci identity dynamic-group create –name <group-name> –description <group-description> –matching-rule <matching-rule>”. You will need to replace the placeholders with the appropriate values. The matching rule specifies the criteria that resources must meet to be included in the group.


Q: How can you use resource tagging in IAM policies?

A: You can use resource tagging in IAM policies to control access to resources based on their tags. By defining policy statements that reference specific tag values, you can grant or deny access to resources based on their category or other attributes.


Q: How can you view the details of an IAM policy in the Console?

A: You can view the details of an IAM policy in the Console by selecting the policy in the “Policies” tab and clicking the “View” button. This will display the policy statements, resource types, and other details of the policy.


Q: What is the purpose of a resource principal in Oracle Cloud?

A: A resource principal is a special type of identity in Oracle Cloud that represents a resource rather than a user or group. Resource principals are used to authenticate requests that are initiated by a resource rather than a user.


Q: How can you create a new resource principal in Oracle Cloud using the CLI?

A: You can create a new resource principal in Oracle Cloud using the CLI by running the following command: “oci iam resource create –name <resource-name> –description <resource-description> –compartment-id <compartment-ocid> –rest-endpoint <rest-endpoint>”. You will need to replace the placeholders with the appropriate values.


Q: What is the purpose of a service connector hub in Oracle Cloud?

A: A service connector hub is a service in Oracle Cloud that allows you to connect multiple services and regions in a centralized manner. Service connector hubs are used to simplify cross-service communication and to enable hybrid and multi-cloud scenarios.


Q: How can you create a service connector hub in Oracle Cloud using the Console?

A: You can create a service connector hub in Oracle Cloud using the Console by selecting the “Service Connector Hubs” tab and clicking the “Create Service Connector Hub” button. You will need to provide a name for the hub, select the compartment in which it will be created, and specify the VCN and subnets that will be used by the hub.


Q: How can you configure an IAM policy to allow a user to manage a specific resource in Oracle Cloud?

A: You can configure an IAM policy to allow a user to manage a specific resource in Oracle Cloud by creating a policy that grants the appropriate permissions. For example, you could create a policy that allows a user to manage a specific compute instance by using the “allow” statement with the “core.instance” permission and the instance’s OCID.


Q: What is the purpose of a resource manager stack in Oracle Cloud?

A: A resource manager stack is a collection of resources and configurations that can be managed as a single unit in Oracle Cloud. Resource manager stacks are used to simplify resource provisioning and management by providing a way to define and deploy complex infrastructure and applications.


Q: How can you create a new resource manager stack in Oracle Cloud using the CLI?

A: You can create a new resource manager stack in Oracle Cloud using the CLI by running the following command: “oci resource-manager stack create –compartment-id <compartment-ocid> –config-source <config-source>”. You will need to replace the placeholders with the appropriate values. The config source specifies the location of the Terraform configuration files.


Q: What is the purpose of an instance principle in Oracle Cloud?

A: An instance principle is a special type of identity in Oracle Cloud that represents a compute instance rather than a user or group. Instance principles are used to authenticate requests that are initiated by a compute instance.


Q: How can you enable instance principles for a compute instance in Oracle Cloud using the Console?

A: You can enable instance principles for a compute instance in Oracle Cloud using the Console by selecting the instance in the “Instances” tab and clicking the “Attach VNIC with Instance Principle” button. This will enable instance principles for the instance’s VNIC.


Q: What is the purpose of a delegation token in Oracle Cloud?

A: A delegation token is a short-lived token that is used to allow third-party applications or services to access resources in Oracle Cloud. Delegation tokens are used to provide secure and controlled access to resources without exposing user credentials.


Q: How can you create a delegation token in OCI?

A: You can create a delegation token in Oracle Cloud using the CLI by running the following command: “oci iam delegate-token create –compartment-id <compartment-ocid> –user-id <user-ocid> –description <token-description>”. You will need to replace the placeholders with the appropriate values.


Q: What is the purpose of a group membership rule in IAM?

A: A group membership rule is a rule that defines the criteria for adding users to a dynamic group in IAM. Group membership rules are used to simplify user management and to ensure that users are automatically added to the appropriate groups based on their attributes.


Q: How can you create a group membership rule in IAM using the Console?

A: You can create a group membership rule in IAM using the Console by selecting the dynamic group in the “Groups” tab and clicking the “Add Rule” button. You will need to specify the rule statement and the priority of the rule.


Q: What is the purpose of IDCS federation in Oracle Cloud?

A: IDCS federation is a feature in Oracle Cloud that allows you to integrate IDCS with other identity providers, such as Microsoft Active Directory or Okta. Federation is used to simplify user management and to ensure that users can access resources across multiple cloud services and on-premises systems.


Q: How can you configure IDCS federation in Oracle Cloud using the Console?

A: You can configure IDCS federation in Oracle Cloud using the Console by selecting the “Identity Providers” tab and clicking the “Add Identity Provider” button. You will need to specify the identity provider type, the identity provider name, and the configuration details for the identity provider.


Q: What is the purpose of a policy attachment in IAM?

A: A policy attachment is a link between a policy and a resource in Oracle Cloud. Policy attachments are used to apply policies to specific resources, such as compute instances or object storage buckets.


Q: How can you attach a policy to a resource in Oracle Cloud using the CLI?

A: You can attach a policy to a resource in Oracle Cloud using the CLI by running the following command: “oci iam resource-attach-policy –resource-id <resource-ocid> –policy-id <policy-ocid>”. You will need to replace the placeholders with the appropriate values.


Q: What is the purpose of a customer-managed key in Oracle Cloud?

A: A customer-managed key is a cryptographic key that is created and managed by a customer in Oracle Cloud. Customer-managed keys are used to encrypt data and to ensure that data remains secure and confidential.


Q: How can you create a new customer-managed key in Oracle Cloud using the Console?

A: You can create a new customer-managed key in Oracle Cloud using the Console by selecting the “Key Management” tab and clicking the “Create Key” button. You will need to provide a name for the key, select the compartment in which it will be created, and specify the key details and configuration.


Q: What is the purpose of a service principal in Oracle Cloud?

A: A service principal is a special type of identity in Oracle Cloud that represents a service or application rather than a user or group. Service principals are used to authenticate requests that are initiated by a service or application.


Q: How can you create a new service principal in Oracle Cloud using the CLI?

A: You can create a new service principal in Oracle Cloud using the CLI by running the following command: “oci iam service create –name <service-name> –description <service-description> –compartment-id <compartment-ocid>”. You will need to replace the placeholders with the appropriate values.


Q: What is the purpose of a dynamic group membership in IAM?

A: A dynamic group membership is a type of group membership that is based on a set of criteria rather than a static list of users. Dynamic group memberships are used to simplify user management and to ensure that users are automatically added to the appropriate groups based on their attributes.


Q: How can you view the details of a policy in IAM using the CLI?

A: You can view the details of a policy in IAM using the CLI by running the following command: “oci iam policy get –policy-id <policy-ocid>”. This will display the policy statements, resource types, and other details of the policy.


Q: What is the purpose of a network source in IAM policies?

A: A network source is a set of IP addresses or IP address ranges that are used to control access to resources in Oracle Cloud. Network sources are used to restrict access to resources based on the IP addresses of the requesting clients.


Q: How can you create a new network source in IAM using the Console?

A: You can create a new network source in IAM using the Console by selecting the “Network Sources” tab and clicking the “Create Network Source” button. You will need to provide a name for the network source and specify the IP address or IP address range.


Q: What is the purpose of an Oracle Cloud Infrastructure group in IDCS?

A: An Oracle Cloud Infrastructure group in IDCS is a group that is synchronized with a corresponding group in Oracle Cloud Infrastructure. OCI groups are used to simplify access control and to ensure that the correct policies are applied to the correct resources.


Q: How can you create an Oracle Cloud Infrastructure group in IDCS using the Console?

A: You can create an Oracle Cloud Infrastructure group in IDCS using the Console by selecting the “Groups” tab and clicking the “Create Group” button. You will need to provide a name for the group, select the compartment in which it will be created, and specify the synchronization details.


Q: What is the purpose of a certificate in IDCS?

A: A certificate in IDCS is a digital certificate that is used to establish the identity of a user, service, or application. Certificates are used to enable secure communication and to authenticate users and services.


Q: How can you create a new certificate in IDCS using the Console?

A: You can create a new certificate in IDCS using the Console by selecting the “Certificates” tab and clicking the “Create Certificate” button. You will need to provide a name for the certificate, select the compartment in which it will be created, and specify the certificate details and configuration.


Q: What is the purpose of a service account in IAM?

A: A service account is a type of account in IAM that is used to authenticate requests that are initiated by a service or application. Service accounts are used to simplify access control and to ensure that resources are accessed securely and in compliance with organizational policies


Q: What is the purpose of the IAM tag namespace in Oracle Cloud?

A: The IAM tag namespace in Oracle Cloud is used to define a set of tags that can be used to label and organize resources. Tag namespaces are used to ensure consistent tagging across a tenancy and to simplify resource management.


Q: How can you create a new IAM tag namespace in Oracle Cloud using the Console?

A: You can create a new IAM tag namespace in Oracle Cloud using the Console by selecting the “Tagging” tab and clicking the “Create Namespace” button. You will need to provide a name for the namespace and specify the namespace details and configuration.


Q: What is the purpose of a network security group in Oracle Cloud?

A: A network security group is a type of security group in Oracle Cloud that is used to control access to resources based on network traffic. Network security groups are used to restrict traffic to and from resources based on source and destination IP addresses and ports.


Q: How can you create a new network security group in Oracle Cloud using the CLI?

A: You can create a new network security group in Oracle Cloud using the CLI by running the following command: “oci network security-list create –name <security-list-name> –compartment-id <compartment-ocid> –egress-security-rules ‘[<egress-rule-json>]’ –ingress-security-rules ‘[<ingress-rule-json>]'” You will need to replace the placeholders with the appropriate values.


Q: What is the purpose of an access request in IAM?

A: An access request in IAM is a request that a user submits to a policy owner for permission to access a resource. Access requests are used to simplify access control and to ensure that access is granted only to authorized users.


Q: How can you create an access request in IAM using the Console?

A: You can create an access request in IAM using the Console by selecting the “Access Requests” tab and clicking the “Create Access Request” button. You will need to provide a description of the request, select the compartment in which the request will be made, and specify the request details and configuration.


Q: What is the purpose of a custom role in IAM?

A: A custom role in IAM is a role that is created and managed by a user in Oracle Cloud. Custom roles are used to provide fine-grained access control and to ensure that users have only the permissions they need to perform their tasks.


Q: How can you create a new custom role in IAM using the CLI?

A: You can create a new custom role in IAM using the CLI by running the following command: “oci iam custom-role create –name <role-name> –description <role-description> –compartment-id <compartment-ocid> –permissions ‘<permission-json>'” You will need to replace the placeholders with the appropriate values.


Q: What is the purpose of an instance configuration in Oracle Cloud?

A: An instance configuration in Oracle Cloud is a set of predefined settings and options that can be used to create a new compute instance. Instance configurations are used to simplify instance creation and to ensure that instances are created with the correct settings and configurations.


Q: How can you create a new instance configuration in Oracle Cloud using the CLI?

A: You can create a new instance configuration in Oracle Cloud using the CLI by running the following command: “oci compute-management instance-configuration create –name <configuration-name> –compartment-id <compartment-ocid> –instance-details ‘<instance-details-json>'” You will need to replace the placeholders with the appropriate values.


Q: What is the purpose of a launch plan in Oracle Cloud?

A: A launch plan in Oracle Cloud is a set of instructions and configurations that can be used to create and manage multiple instances at once. Launch plans are used to simplify instance management and to ensure that instances are created and configured consistently.


Q: How can you create a new launch plan in Oracle Cloud using the Console?

A: You can create a new launch plan in Oracle Cloud using the Console by selecting the “Launch Plans” tab and clicking the “Create Launch Plan” button. You will need to provide a name for the launch plan, select the compartment in which it will be created, and specify the launch plan details and configuration.


Q: What is the purpose of multi-factor authentication (MFA) in Oracle Cloud?

A: Multi-factor authentication (MFA) in Oracle Cloud is a security feature that requires users to provide additional proof of identity when logging in to the console or making API requests. MFA is used to enhance security and to ensure that users are authorized to access resources.


Q: How can you enable MFA for an IAM user in Oracle Cloud using the Console?

A: You can enable MFA for an IAM user in Oracle Cloud using the Console by selecting the “Users” tab and clicking the user name. Then click the “Add MFA” button, select the MFA device type, and follow the instructions to set up the MFA device.


Q: What is the purpose of a compartment landing zone in Oracle Cloud?

A: A compartment landing zone in Oracle Cloud is a predefined set of compartments and policies that are used to enforce organizational standards and best practices for resource management. Compartment landing zones are used to ensure that resources are organized and managed consistently across a tenancy.


Q: How can you create a new compartment landing zone in Oracle Cloud using the CLI?

A: You can create a new compartment landing zone in Oracle Cloud using the CLI by running the following command: “oci landing-zone create –name <landing-zone-name> –compartment-id <compartment-ocid> –landing-zone-type <landing-zone-type> –default-config ‘<default-config-json>'” You will need to replace the placeholders with the appropriate values.


Q: What is the purpose of an authentication policy in IDCS?

A: An authentication policy in IDCS is a set of rules and configurations that are used to manage the authentication process for users and services. Authentication policies are used to ensure that users are authenticated securely and in compliance with organizational policies.


Q: How can you create a new authentication policy in IDCS using the Console?

A: You can create a new authentication policy in IDCS using the Console by selecting the “Authentication Policies” tab and clicking the “Create Authentication Policy” button. You will need to provide a name for the policy, select the compartment in which it will be created, and specify the policy details and configuration.


Q: What is the purpose of a security zone in Oracle Cloud?

A: A security zone in Oracle Cloud is a set of resources and policies that are used to ensure that resources are managed securely and in compliance with regulatory and organizational requirements. Security zones are used to provide an additional layer of security for critical resources.


Q: How can you create a new security zone in Oracle Cloud using the Console?

A: You can create a new security zone in Oracle Cloud using the Console by selecting the “Security Zones” tab and clicking the “Create Security Zone” button. You will need to provide a name for the zone, select the compartment in which it will be created, and specify the zone details and configuration.


Q: What is the purpose of a resource discovery rule in IAM?

A: A resource discovery rule in IAM is a rule that defines the criteria for discovering resources and adding them to a dynamic group. Resource discovery rules are used to simplify resource management and to ensure that resources are organized and managed appropriately.


Q: How can you create a new resource discovery rule in IAM using the Console?

A: You can create a new resource discovery rule in IAM using the Console by selecting the dynamic group in the “Groups” tab and clicking the “Add Rule” button. Then select the “Resource Discovery” tab, specify the rule statement, and click the “Add Rule” button.


Q: What is the purpose of a federation connection in IDCS?

A: A federation connection in IDCS is a connection that is established between IDCS and an external identity provider, such as Microsoft Active Directory or Okta. Federation connections are used to simplify user management and to ensure that users can access resources across multiple cloud services and on-premises systems.


Q: How can you create a new federation connection in IDCS using the Console?

A: You can create a new federation connection in IDCS using the Console by selecting the “Identity Providers” tab and clicking the “Create Identity Provider” button. Then select the “Federation” tab, specify the connection details, and click the “Create” button.


Q: What is the purpose of a signing certificate in IDCS?

A: A signing certificate in IDCS is a digital certificate that is used to sign and verify messages and tokens in the authentication process. Signing certificates are used to ensure message integrity and to authenticate users and services.


Q: How can you create a new signing certificate in IDCS using the Console?

A: You can create a new signing certificate in IDCS using the Console by selecting the “Certificates” tab and clicking the “Create Certificate” button. Then select the “Signing” tab, specify the certificate details and configuration, and click the “Create” button.

 

Brijesh Gogia
Leave a Reply