Wednesday, 23 June 2021

OCI Exam Question & Answers | OCI Foundations 2021 | Oracle Cloud Infrastructure Foundations 2020 Associate Dumps Set 10

1.    ___________________ is a fully-managed, scalable, and highly available service that you can use to deploy your containerized applications to the cloud.

A. Oracle Cloud Infrastructure Container Engine for Kubernetes

B. Oracle Cloud Infrastructure Container Engine for Containerization

C. Oracle Cloud Infrastructure Container Engine for Deployment

D. Oracle Cloud Infrastructure Container Engine for Docker

Ans: A

2.    There is one compute instance and one DB instance. How will you ensure maximum availability?

A. Keep compute instance in one FD and DB instance in another FD

B. Keep both compute instance and DB instance in same FD

C. Keep compute instance in one AD and DB instance in another AD

D. Keep both compute instance and DB instance in same AD

Ans: B

3.    Linux image file authentication can be done using

A. SSH

B. Console PWD

Ans: A

4.    Which service will help to verify user identity?

A. IAM Service

B. MFA

C. Security Service

Ans: B

5.    If an application has to be deployed in single AD region, how to attain maximum availability?

6.    How to add one additional level of security to check user identity?

Ans: MFA

7.    What is the primary use case of WAF?

Ans: Protecting from malicious websites

8.    Which Oracle Cloud Infrastructure capability can be used to protect against power failures within an Availability domain?

A. Service cells

B. Data Plane

C. UPS

D. Fault domains

Ans: D

9.    A customer is looking to migrate their old database backups from their on-premises data center to Oracle Cloud Infrastructure (OCI). Which OCI service is the most cost-effective?

A. Archive Storage

B. Block Volume

C. Object storage (standard)

D. File Storage

Ans: A

10.  Which feature allows you to logically group and isolate your Oracle Cloud Infrastructure resources?

A. Identity and Access Management Groups

B. Tenancy

C. Availability Domain

D. Compartments

Ans: D

Monday, 21 June 2021

How To Get the Month Number From Month Name in C# | Convert month name to month number in C#.net

Month Number From Full Month Name 

If we need Month Number From Full Month Name then use below code
string monthName = "April";
int monthNumber = DateTime.ParseExact(monthName, "MMMM", CultureInfo.CurrentCulture).Month;

Month Number From Month Abbreviations

If we need to convert a month number from a month abbreviations then use below code
string monthName = "Apr";
int monthNumber = DateTime.ParseExact(monthName, "MMM", CultureInfo.CurrentCulture).Month;

Sunday, 20 June 2021

OCI Exam Question & Answers | OCI Foundations 2021 | Oracle Cloud Infrastructure Foundations 2020 Associate Dumps Set 9

1.    Which Oracle Cloud Infrastructure capability can be used to protect against power failures within an Availability domain?

A. Service cells

B. Data Plane

C. UPS

D. Fault domains

Ans: D

2.    You have a Database service which requires shared file system, Which OCI service would you choose?

A. File Storage

B. Block Volume

C. Object Storage

D. Archive Storage

Ans: A

3.    Which statement is true regarding OCI compute instance?

A. Compute instance cannot leverage Auto scaling feature

B. Compute instance always get a public IP address

C. Compute instance does not use a boot volume

D. Compute instance always get a private IP address

Ans: D

4.    Which statement is correct regarding the Oracle Cloud Infrastructure compute service?

A. You cannot attach a block volume to a compute instance

B. When you stop a compute instance, all data on the boot volume is lost

C. You can attach a maximum Of one public IP to each compute instance

D. You can launch either virtual machines or bare metal instances.

Ans: D 

5.    A company has developed a payroll application in Oracle Cloud Infrastructure. What should they do to ensure that the application has the highest level of availability and resilience?

A. Deploy the application across multiple Availability Domains and Fault domains

B. Deploy the application across multiple Virtual Cloud Networks

C. Deploy the application across multiple Availability Domains and subnets

D. Deploy the application across multiple Regions and Availability Domains

Ans: D

6.    Which statement is not true for Oracle Cloud Infrastructure compartments?

A. Compartments cannot be nested

B. Each OCI resource belongs to a single compartment

C. Resources and compartments can be added and deleted anytime

Ans: A

7.    According to Standard security model Which are a customer’s responsibilities in Oracle Cloud Infrastructure (OCI)?

A. Customer Data

B. Physical Security of OCI data center facilities

C. Virtual Machine Hypervisor

D. Object Storage Data Security

Ans: A, D

8.    You run four OCI virtual machine instances on an OCI dedicated virtual host. How will this deployment be billed?

A. The dedicated virtual machine host and all the four instances, and the boot volumes of each instance will be billed

B. The dedicated virtual machine host and the boot volumes of each instance will be billed

C. Only the dedicated virtual machine host will be billed

D. All the four instances will be billed based on the number of OCPL_I

Ans: B

9.    What two statements regarding the Virtual Cloud network (VCN) are true?

A. A Single VCN can contain both private and public Subnets

B. VCN is s regional resource that span across all the availability Domains in a Region

C. You can only create one VCN per region

D. The VCN is the IPSec based connection with a remote on premises location

E. VCN is a global resource that span across all the Regions

Ans: A, B

Or

A.  A VCN creates the dynamic routing gateway by default

B. A VCN can reside In multiple OCI regions and availability domains

C.  A VCN covers a single, contiguous IPv4 CIDR block of your choice(Correct)

D. The allowable VCN size range is:/16 to /30(Correct)

Ans: C, D 

10.  Which is not considered security resource within oracle cloud Infrastructure (OCI)?

A. Network security group

B. Web Application firewall

C. Security units

D. Federation

Ans: C

Friday, 18 June 2021

.NET Core and .NET Framework | Difference between .NET Core and .NET Framework | Comparison of .NET Core and .NET Framework | Advantages of .NET Core

Comparison of .NET Core and .NET Framework

Category

.NET Core

.NET Framework

Open source

.Net Core is an open source.

.NET Frame work is not open source. Some components are open source.

Cross-Platform

.NET Core is cross-platform, and supports three distinct operating systems — Windows, OS X, and Linux.

.NET Framework enabled developers to build applications for a single platform — Windows.

Application Models

.Net Core focuses more on Web, Windows Mobile, and Windows Store applications.
It does not support Desktopapplication development.

.Net Framework is used to build both Desktop as well as Web applications.
Windows Forms and WPF applications are very well supported.

Installation

.NET Core is packaged and installed independently of the underlying operating system as it is cross-platform.

.NET Framework is installed as a single package for Windows operating system.

Framework

.Net Core is a platform on top of which there are frameworks such as ASP .Net Core and Universal Windows Platform that leverage and extend the features of .Net Core.

.Net Framework is a full-fledged development framework. It provides UI, DB connectivity, Services, APIs, etc.

Performance and Scalability

.NET Core is more effective than .NET Framework to enhance the performance and scalability of applications. It enables developers to enhance the performance of applications drastically without deploying additional hardware or infrastructure. Also, it allows developers to build, test and deploy applications directly in the cloud. Hence, the developers can switch to .NET Core to enhance the performance and scalability of their applications without putting extra time and effort

.Net Framework is less effective in comparison to .Net Core in terms of performance and scalability of applicatio

Micro-Services

 .NET Core makes it easier for developers to build microservice oriented systems rapidly. .NET Core enables programmers to develop custom microservices by using varying programming languages, technologies and frameworks. Also, the developers can build a robust system by combining multiple microservices seamlessly.

.Net Framework does not support the development and implementation of microservices but it supports the REST API services.

Compatibility

.NET Core is compatible with various operating systems — Windows, Linux, and Mac OS. .NET Core does not support all the features and functionalities provided by the latest version of .NET Framework. But it can be used as a subset of the .NET Framework. 

.NET Framework is compatible only with the Windows operating system.

Packaging and Shipping

.Net Core is delivered as a set of NuGet packages. It has been factored, modularized and shipped as several NuGet packages.
Although the common runtime libraries are still a part of the bundle, the developer has the freedom to selectively include other libraries as per need. This makes .Net Core very lightweight. No extra baggage.

.Net Framework is packaged as a whole. All the libraries are bundled together and shipped together.

WCF/REST Services

.Net Core has no support for WCF services. You would always need to create a REST API.

.Net Framework is an excellent choice when WCF services are involved. It also supports REST services.

CLI Tools

.Net Core supports a very lightweight CLI for all platforms. There is always an option to switch to an IDE as well.

.Net Framework is too heavy for Command Line Interface.

Mobile App Development

.NET Framework does not include any robust framework or tools to simplify mobile app development.

.NET Core compatible with Xamarin through the .NET Standard Library. Hence, developers can take advantage of Xamarin to write cross-platform mobile apps in C# with a shared code base and same set of APIs. They can further use the tools provided by Xamarin to customize the mobile app for individual mobile platforms like iOS, Android and Windows Phone.

Cloud Ready Configuration

.NET Core is designed with features to simplify development and deployment of cloud-based application. 

It is not easy to deploy in cloud

Deployment Model

Whenever the updated version of .NET Core gets initiated; it is updated instantly on one machine at a time, thereby getting updated in new directories/folders in the existing application without affecting it. Thus, .NET Core has a good and flexible deployment model.

In the case of .Net Framework, when the updated version is released it is first deployed on the Internet Information Server only.

Standard Library

.NET Core implements version 1.6 of the .NET Standard Library.

s a formal specification of .NET APIs, the .NET Standard Library meets the requirements of varying runtimes and maintains uniformity in the .NET ecosystem. Each version of .NET Framework uses a specific version of .NET Standard Library. For instance, .NET Framework 4.6 implemented the .NET Standard Library 1.3

Modular Collection of Libraries

 .NET Core uses a redesigned common language runtime called CoreCLR, and features a modular collection of libraries called CoreFX. Hence, the developers have option to pick and use only the libraries required by each application, and enhance the application’s performance by removing unnecessary libraries.

.NET Framework and .NET Core allows developers to take advantage of robust class libraries.

.net framework vs .net core Difference between .NET Core and .NET Framework.  .NET Core is the new open-source and cross-platform framework to build applications for all operating system including Windows, Mac, and Linux.
.net framework vs .net core

Thursday, 17 June 2021

OCI Exam Question & Answers | OCI Foundations 2021 | Oracle Cloud Infrastructure Foundations 2020 Associate Dumps Set 8

1.    Which two Oracle Cloud Infrastructure resources can be used to group/categorize expenses?

A. Tags

B. Users

C. Compartments

D. Policies

E. Groups

Ans: A, C

2.    What is an example of Large Services in Oracle Cloud Infrastructure(OCI)?

A. Cloud Storage

B. Virtual Firewall

C. Web Application Firewall

D. Virtual Cloud Network (VCN)

Ans: D

3.    A platform has been re-deployed to a microservices based architecture using Docker containers for deployment. Which service can you use to deploy containers on Oracle Cloud Infrastructure (OCI)?

A. API Gateway

B. Streaming Service

C. File Storage Service

D. Container Engine for Kubernetes

Ans: D

4.    Which option provides the best performance for running OTLP workloads in OCI?

A. OCI VM instances

B. OCI Exadata DB systems

C. OCI Dedicated Virtual host

D. OCI Autonomous Data Warehouse

Ans: B

5.    What purpose does Oracle Cloud Infrastructure Dynamic routing gateway serve?

A. Enables OCI compute instances to be reached from the internet

B. Enables OCI compute instances to privately connect to OCI Object Storage

C. Enables OCI compute instances to connect to the internet

D. Enables OCI compute instances to connect to on-premises environments

Ans: D

6.    You want to leverage a managed Real Application Cluster (RAC) offering in OCI. Which OCI managed database service would you choose?

A. Autonomous Transaction Processing (Shared)

B. Autonomous Data Warehousing (Shared)

C. VM DB systems

D. Bare metal DB systems

Ans: C

7.    Which OCI service would you use to distribute incoming traffic between a set of web servers?

A. Internet gateway

B. Public Load balancer

C. Auto Scaling

D. Private load balancer

Ans: B

8.    Which OCI storage service does not provide encryption for data-at-rest

A. Block Volume

B. Object Storage

C. Local NVMe

D. File Storage

Ans: C

9.    Which security service is offered by OCI?

A. Managed Active Directory

B. Managed Intrusion detection

C. Key Management

D. Certificate Management System

Ans: C

10.  How is total network throughput allocated to a Virtual Machine (VM) instance?

A. When launching a compute instance, customers may select the desired maximum network bandwidth

B. Each VM is allocated 10Gbps Of network bandwidth regardless Of the selected shape

C. Network bandwidth is proportional to the number of OCPUs in the instance shape

D. Network bandwidth is variable

Ans: C

Related Posts Plugin for WordPress, Blogger...

ShareThis