Elasticsearch Interview Questions And Answers 2018

Elasticsearch Interview Questions And Answers 2018. Coding compiler sharing a list of 40 Real-Time Elasticsearch interview questions for experienced. These Elasticsearch questions were asked in various interviews by top MNC companies and prepared by industry experts. This list will help you to crack your next Elasticsearch job interview all the best for future and happy learning.

Elasticsearch Interview Questions

  1. What is Elasticsearch?
  2. How does Elasticsearch work?
  3. What is Amazon Elasticsearch?
  4. What is the functionality of Elasticsearch?
  5. What is Kibana and elastic search?
  6. What is Apache Lucene?
  7. What is NRT in Elasticsearch?
  8. What is a Cluster in Elasticsearch?
  9. What is Node in Elasticsearch?
  10. What is Index in Elasticsearch?
  11. What is Document in Elasticsearch?
  12. What are Shards in Elasticsearch and Explain the concept?
  13. What are the benefits of Sharding in Elasicsearch?
  14. What are Replicas and Explain what do you understand?
  15. What are the benefits of Replicas in Elasticsearch?

Elasticsearch Interview Questions And Answers

Elasticsearch Interview Questions
Elasticsearch is anOpen source software
Elasticsearch is aSearch engine based on Lucene
Elasticsearch is aDistributed, RESTful search and analytics engine
Elasticsearch LicenceApache License 2.0
Elasticsearch developed byShay Banon
Elasticsearch has written inJava

1) What is Elasticsearch and what do you understand about Elasticsearch?

A) Elasticsearch is a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents.

ElasticSearch is an open source, RESTful search engine built on top of Apache Lucene and released under an Apache license. It is Java-based and can search and index document files in diverse formats. An index can be easily recovered in a case of a server crash.

 

2) How does Elasticsearch work?

A) Indexing Documents to the Repository. During an indexing operation, Elasticsearch converts raw data such as log files or message files into internal documents and stores them in a basic data structure similar to a JSON object. Simply do an HTTP POST that transmits your document as a simple JSON object.

 

3) What is Amazon Elasticsearch?

A) Amazon Elasticsearch Service makes it easy to deploy, secure, operate and scale Elasticsearch for log analytics, full-text search, application monitoring, and more. You can set up and configure petabyte-scale Amazon Elasticsearch Service domains in minutes from the AWS Management Console.

 

4) What is the functionality of Elasticsearch?

A) Elasticsearch is developed in Java and is released as open source under the terms of the Apache License. Elasticsearch provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents.

 

5) What is Kibana and elastic search?

A) Kibana is an open source data visualization plugin for Elasticsearch. It provides visualization capabilities on top of the content indexed on an Elasticsearch cluster. Users can create bar, line and scatter plots, or pie charts and maps on top of large volumes of data.

 

6) What is Apache Lucene?

A) Apache Lucene is a free and open-source information retrieval software library, originally written completely in Java.

 

7) What is NRT in Elasticsearch?

A) In Elasticsearch NRT stands for Near Real Time Search platform. Elasticsearch is a near real-time search platform. What this means is there is a slight latency (normally one second) from the time you index a document until the time it becomes searchable.

 

8) What is a Cluster in Elasticsearch?

A) A cluster is a collection of one or more nodes (servers) that together holds your entire data and provides federated indexing and search capabilities across all nodes. A cluster is identified by a unique name which by default is “elasticsearch”. This name is important because a node can only be part of a cluster if the node is set up to join the cluster by its name.

 

9) What is Node in Elasticsearch?

A) A node is a single server that is part of your cluster, stores your data, and participates in the cluster’s indexing and search capabilities. Just like a cluster, a node is identified by a name which by default is a random Universally Unique IDentifier (UUID) that is assigned to the node at startup.

Top 40 Elasticsearch Interview Questions

Elasticsearch Interview Questions # 10) What is Index in Elasticsearch?

A) Index – An index is a collection of documents that have somewhat similar characteristics. For example, you can have an index for customer data, another index for a product catalog, and yet another index for order data.

An index is identified by a name (that must be all lowercase) and this name is used to refer to the index when performing indexing, search, update, and delete operations against the documents in it.

 

Elasticsearch Interview Questions # 11) What is Document in Elasticsearch?

A) Document – A document is a basic unit of information that can be indexed. For example, you can have a document for a single customer, another document for a single product, and yet another for a single order. This document is expressed in JSON (JavaScript Object Notation) which is a ubiquitous internet data interchange format.

 

Elasticsearch Interview Questions # 12) What are Shards in Elasticsearch and Explain the concept?

A) An index can potentially store a large amount of data that can exceed the hardware limits of a single node. For example, a single index of a billion documents taking up 1TB of disk space may not fit on the disk of a single node or may be too slow to serve search requests from a single node alone.

To solve this problem, Elasticsearch provides the ability to subdivide your index into multiple pieces called shards. When you create an index, you can simply define the number of shards that you want. Each shard is in itself a fully-functional and independent “index” that can be hosted on any node in the cluster.

 

Elasticsearch Interview Questions # 13) What are the benefits of Sharding in Elasicsearch?

A) Sharding is important for two primary reasons:

  • It allows you to horizontally split/scale your content volume
  • It allows you to distribute and parallelize operations across shards (potentially on multiple nodes) thus increasing performance/throughput

 

Elasticsearch Interview Questions # 14) What are Replicas and Explain what do you understand?

A) In a network/cloud environment where failures can be expected any time, it is very useful and highly recommended to have a failover mechanism in case a shard/node somehow goes offline or disappears for whatever reason.

To this end, Elasticsearch allows you to make one or more copies of your index’s shards into what are called replica shards, or replicas for short.

 

Elasticsearch Interview Questions # 15) What are the benefits of Replicas in Elasticsearch?

A) Replication is important for two primary reasons:

  • It provides high availability in case a shard/node fails. For this reason, it is important to note that a replica shard is never allocated on the same node as the original/primary shard that it was copied from.
  • It allows you to scale out your search volume/throughput since searches can be executed on all replicas in parallel.

 

Elasticsearch Interview Questions # 16) What is the minimum Java version required to install Elasticsearch?

A) To install Elasticsearch on a machine, you require having at least Java 8.

 

Elasticsearch Interview Questions # 17) How do you interact with Cluster in Elasticsearch?

A) Elasticsearch provides a very comprehensive and powerful REST API that you can use to interact with your cluster.

 

Elasticsearch Interview Questions # 18) What are the benefits of REST API’s in Elasticsearch?

A) There are many benefits of using REST API’s in Elasticsearch, they are:

  • Check your cluster, node, and index health, status, and statistics
  • Administer your cluster, node, and index data and metadata
  • Perform CRUD (Create, Read, Update, and Delete) and search operations against your indexes
  • Execute advanced search operations such as paging, sorting, filtering, scripting, aggregations, and many others

 

Elasticsearch Interview Questions # 19) How do you create an Index in Elasticsearch?

A) Now let’s create an index named “customer” and then list all the indexes again:

PUT /customer?pretty
GET /_cat/indices?v

he first command creates the index named “customer” using the PUT verb. We simply append pretty to the end of the call to tell it to pretty-print the JSON response (if any).

 

Elasticsearch Interview Questions # 20) How do you delete an Index?

A) Now let’s delete the index that we just created and then list all the indexes again:

DELETE /customer?pretty
GET /_cat/indices?v

Elasticsearch Frequently Asked Interview Questions

Elasticsearch Interview Questions # 21) What are the different packages available for installing Elasticsearch?

A) zip/tar.gz – The zip and tar.gz packages are suitable for installation on any system and are the easiest choice for getting started with Elasticsearch on most systems.

  • deb – The deb package is suitable for Debian, Ubuntu, and other Debian-based systems.
  • rpm – The rpm package is suitable for installation on Red Hat, Centos, SLES, OpenSuSE and other RPM-based systems.
  • msi – The msi package is suitable for installation on Windows 64-bit systems with at least .NET 4.5 framework installed
  • docker – Images are available for running Elasticsearch as Docker containers.

 

Elasticsearch Interview Questions # 22) What are the configuration management tools supported by Elasticsearch?

A) Elasticsearch supports the following configuration management tools to help with large deployments:

  • Puppet – puppet-elasticsearch
  • Chef – cookbook-elasticsearch
  • Ansible – ansible-elasticsearch

 

Elasticsearch Interview Questions # 23) How many types of Configuration files are there in Elasticsearch?

A) Elasticsearch has three configuration files:

  1. elasticsearch.yml for configuring Elasticsearch
  2. jvm.options for configuring Elasticsearch JVM settings
  3. log4j2.properties for configuring Elasticsearch logging

These files are located in the config directory, whose default location depends on whether or not the installation is from an archive distribution (tar.gz or zip) or a package distribution (Debian or RPM packages).

 

Elasticsearch Interview Questions # 24) What is X-Pack in Elasticsearch?

A) X-Pack is an Elastic Stack extension that bundles security, alerting, monitoring, reporting, machine learning, and graph capabilities into one easy-to-install package. To access this functionality, you must install X-Pack in Elasticsearch.

 

Elasticsearch Interview Questions # 25) Where do you configure settings for X-Pack?

A) X-Pack Settings in Elasticsearch – You configure settings for X-Pack features in the elasticsearch.yml, kibana.yml, and logstash.yml configuration files.

 

Elasticsearch Interview Questions # 26) What are breaking changes in Elasticsearch?

A) You need to be aware of when migrating your application from one version of Elasticsearch to another.

As a general rule:

  • Migration between minor versions – e.g. 6.x to 6.y – can be performed by upgrading one node at a time.
  • Migration between consecutive major versions – e.g. 5.x to 6.x – requires a full cluster restart.
  • Migration between non-consecutive major versions – e.g. 2.x to 6.x – is not supported.

 

Elasticsearch Interview Questions # 27) What is Single document APIs in Elasticsearch?

A) Index API, Get API, Delete API, Update API

 

Elasticsearch Interview Questions # 28) What are Multi-document APIs?

A) Multi Get API, Bulk API, Delete By Query API, Update By Query API, Reindex API.

 

Elasticsearch Interview Questions # 29) What is Routing in Elasticsearch?

A) When executing a search, it will be broadcast to all the index/indices shards (round robin between replicas). Which shards will be searched on can be controlled by providing the routing parameter.

 

Elasticsearch Interview Questions # 30) What are Aggregations?

A) The aggregation’s framework helps provide aggregated data based on a search query. It is based on simple building blocks called aggregations, that can be composed in order to build complex summaries of the data.

An aggregation can be seen as a unit-of-work that builds analytic information over a set of documents. The context of the execution defines what this document set is (e.g. a top-level aggregation executes within the context of the executed query/filters of the search request).

Advanced Elasticsearch Interview Questions

 

31) What are the different types of aggregations in Elasticsearch?

A) There are many different types of aggregations, each with its own purpose and output.

  • Metric – Aggregations that keep track and compute metrics over a set of documents.
  • Matrix – A family of aggregations that operate on multiple fields and produce a matrix result based on the values extracted from the requested document fields. Unlike metric and bucket aggregations, this aggregation family does not yet support scripting.
  • Pipeline – Aggregations that aggregate the output of other aggregations and their associated metrics

 

32) What are Indices APIs?

A) The indices APIs are used to manage individual indices, index settings, aliases, mappings, and index templates.

 

33) What is cat API in Elasticsearch?

A) All the cat commands accept a query string parameter help to see all the headers and info they provide, and the /_cat command alone lists all the available commands.

 

34) What are the different cat commands available in Elasticsearch cat API?

A) The different commands available in cat APIs are:

  • cat aliases, cat allocation, cat count, cat fielddata
  • cat health, cat indices, cat master, cat nodeattrs
  • cat nodes, cat pending tasks, cat plugins, cat recovery
  • cat repositories, cat thread pool, cat shards, cat segments
  • cat snapshots, cat templates

 

35) What is Query DSL in Elasticsearch?

A) Elasticsearch provides a full Query DSL (Domain Specific Language) based on JSON to define queries. Think of the Query DSL as an AST (Abstract Syntax Tree) of queries, consisting of two types of clauses:

Leaf query clauses – Leaf query clauses look for a particular value in a particular field, such as the match, term or range queries. These queries can be used by themselves.

Compound query clauses – Compound query clauses wrap other leaf or compound queries and are used to combine multiple queries in a logical fashion (such as the bool or dis_max query), or to alter their behavior (such as the constant_score query).

 

36) What is Ingest Node?

A) Use an ingest node to pre-process documents before the actual document indexing happens. The ingest node intercepts bulk and index requests, it applies transformations, and it then passes the documents back to the index or bulk APIs.

 

37) What are the different types of X-Pack APIs?

A) X-Pack APIs – X-Pack exposes REST APIs that are used by the UI components and can be called directly to configure and access X-Pack features.

  • Info API
  • Graph Explore API
  • Machine Learning APIs
  • Security APIs
  • Watcher APIs
  • Migration APIs

 

38) What are the different types of X-Pack Commands?

A) X-Pack includes commands that help you configure security:

  • certgen
  • certutil
  • migrate
  • saml-metadata
  • setup-passwords
  • syskeygen
  • users

 

39) What is Explore API in Elasticsearch?

A) The Graph explore API enables you to extract and summarize information about the documents and terms in your Elasticsearch index.

 

40) What is Migration APIs in Elasticsearch?

A) The migration APIs simplify upgrading X-Pack indices from one version to another.

Migration Assistance API
Migration Upgrade API
Deprecation Info APIs

Source: Elasticsearch Website

OTHER INTERVIEW QUESTIONS

  1. Kibana Interview Questions
  2. Openshift Interview Questions
  3. Kubernetes Interview Questions
  4. Nagios Interview Questions
  5. Jenkins Interview Questions
  6. Chef Interview Questions
  7. Puppet Interview Questions
  8. RPA Interview Questions And Answers
  9. Demandware Interview Questions
  10. Visual Studio Interview Questions
  11. Vagrant Interview Questions
  12. 60 Java Multiple Choice Questions
  13. 40 Core Java MCQ Questions
  14. Anaplan Interview Questions And Answers
  15. Tableau Multiple Choice Questions
  16. Python Coding Interview Questions
  17. CSS3 Interview Questions
  18. Linux Administrator Interview Questions
  19. SQL Interview Questions
  20. Hibernate Interview Questions
  21. Android Interview Questions
  22. Mulesoft Interview Questions
  23. JSON Interview Questions
  24. PeopleSoft HRMS Interview Questions
  25. PeopleSoft Functional Interview Questions
  26. PeopleTools Interview Questions
  27. Peoplesoft Technical Interview Questions
  28. 199 Peoplesoft Interview Questions
  29. 200 Blue Prism Interview Questions
  30. Visualforce Interview Questions

Jenkins Vs Bamboo Comparison

Jenkins Vs Bamboo | Bamboo Vs Jenkins. Here Coding compiler discussing on what is the difference between Jenkins and Bamboo continuous integration (CI/CD) tools. This blog post will help you to compare Jenkins Vs Bamboo and understand the main features of both the tools. All the best for your future and Happy learning.

Jenkins Vs Bamboo

JenkinsBamboo
Open sourceJenkins is the Open source.Bamboo is not Open source.
PricingJenkins if free.Atlassian charges for number of build agents required.
Built withJava programming language.Java programming language.
Operating SystemsWindows, Ubuntu/Debian, Red Hat/Fedora/CentOS, Mac OS X, etc.Windows, Linux, Solaris, MacOS / OSX, etc.
BrowsersChrome, Firefox, Microsoft IE 11, Apple Safari 6 and later.Firefox, Chrome, Safari, Microsoft Edge, IE 11.
DatabasesMySQL, SQL Server SQLite, PostgreSQL, and H2 database.MySQL, PostgreSQL, SQL Server, Oracle 12c H2 databases.

You Might Be Interested In – Jenkins Interview Questions

Bamboo Vs Jenkins

Jenkins Vs Bamboo – Introduction

Jenkins: Jenkins is Open Source continuous integration (CI) tool.

Bamboo: Bamboo is a continuous integration (CI) tool developed by Atlassian.

Jenkins Vs Bamboo – Pricing

Jenkins: Jenkins in open source and it’s free.

Bamboo: The cost of Atlassian Bamboo changes depending on the number of build agents required.

Jenkins Vs Bamboo – Setup & Configuration

Installation: Jenkins and Bamboo take equal time and knowledge for installation.

Built with: Jenkins and Bamboo both were built with Java programming. They will use similar JVM configuration.

Jenkins Vs Bamboo – Supported Operating Systems

Jenkins: We can install Jenkins on Windows, Ubuntu/Debian, Red Hat/Fedora/CentOS, Mac OS X, openSUSE, FreeBSD, OpenBSD, Gentoo.

Bamboo: Bamboo can be installed on Microsoft Windows, Linux, Solaris, MacOS / OSX and others.

Jenkins Vs Bamboo – Supported Databases

Jenkins: Jenkins can support databases like MySQL, SQL Server SQLite, PostgreSQL, and H2 database.

Bamboo: MySQL, PostgreSQL, SQL Server, Oracle 12c H2 databases.

 

Jenkins Vs Bamboo – Supported Browsers

Jenkins: Jenkins can support browsers like Google Chrome, Mozilla Firefox, Microsoft Internet Explorer 11, Apple Safari 6 and later.

Bamboo: Jenkins can support browsers like Mozilla Firefox, Chrome, Safari, Microsoft Edge, Microsoft Internet Explorer 11

Jenkins Vs Bamboo – Source repositories

Jenkins: Jenkins supports CVS and Subversion, built-in support for Git, and also integrates with a large number of other version control systems via plugins.

Bamboo: Bamboo supports CVS, Git, Mercurial, Perforce, Subversion.

Jenkins Vs Bamboo – Plugins

Jenkins: Jenkins has a wide range of plugins for all kinds of functionality, starting from management and organization of build jobs and ending up with reporting.

Bamboo: Bamboo has also a wide variety of plugins for different activities. But Jenkins has a huge community all over the world, it makes difference Jenkins from Bamboo.

Jenkins Vs Bamboo – Reporting

The most important plugin categories are reporting in Jenkins and Bamboo.

Jenkins: Jenkins features 127 plugins just for the reporting purposes.

Bamboo: That’s almost as much as Bamboo can offer in total reporting plugins.

Jenkins Vs Bamboo – Publish HTML

Jenkins: With Jenkins, you can use HTML Publisher plugin for publishing HTML report.

Bamboo: With Bamboo, you can create a new Shared Artifact, for publishing HTML report.

Jenkins Vs Bamboo – Unit Tests

Jenkins: Yes by using Jenkins plugins, you can do Unit Test.

Bamboo: In Bamboo also we can run Unit Test by using plugins.

Jenkins Vs Bamboo – Static Analyzers Reports

Jenkins: OCLint is an amazing tool to run another round of static analysis on your code and detect a vast number of issues as well as to enforce coding guidelines.

Bamboo: With Bamboo, unfortunately, all you have is publishing HTML report via shared artifact.

Jenkins Vs Bamboo – Warnings

Jenkins: Jenkins has Warnings plugin for that. It will scan-build logs and detect warnings and errors generated by the compiler.

Bamboo: Bamboo has also a Warning plugin to detect warnings during the build.

Jenkins Vs Bamboo – Built-in Git branching workflows

Jenkins: In Jenkins, there is no option for built-in GIT branching workflows.

Bamboo: Yes, Bamboo has Built-in with Git branching workflows functionality.

Jenkins Vs Bamboo – Built-in deployment Projects

Jenkins: In Jenkins, there is no option for Built-in deployment Projects.

Bamboo: Yes, Bamboo has Built-in deployment Projects functionality.

Jenkins Vs Bamboo – Built-in Jira Software integration

Jenkins: In Jenkins, there is no option for Built-in Jira Software integration.

Bamboo: Yes, Bamboo has Built-in with Jira Software integration functionality.

Jenkins Vs Bamboo – Functional Tests

If you want to use frameworks like Calabash to produce Cucumber test reports, then Both CI servers have plugins to provide nice reports.

Jenkins Vs Bamboo – Build Plan/Project Structure

Jenkins: With Jenkins, you start by creating Build Project.

By default, all you get is a basic Freestyle project that includes

  • Description
  • Parameters
  • Build Triggers
  • Build Environment
  • Build Steps
  • Post-build Actions

Bamboo: With Bamboo, you start by creating Build Plan.

Each plan consists of one or more Build Stages. Stages run in sequential order. If one stage fails next stages are never executed. Stages can be configured as manual to be triggered by hand.

Each job is made of Build Tasks. They are:

  • Check out git repository
  • Build
  • Test
  • Deploy
  • Generate test report

Jenkins Vs Bamboo – Branch Management

Jenkins: There is no built-in functionality for branch management. But we can achieve branching using plugins like Multi-Branch Project, Feature Branch Notifier and others.

Bamboo: Bamboo does a great job with branches, it has built-in support for branching. With a single tick of a checkbox, you can create branches of a build plan.

Jenkins Vs Bamboo – Built-in Bitbucket Server integration

Jenkins: In Jenkins, there is no option for Built-in Bitbucket Server integration functionality.

Bamboo: Yes, Bamboo built-in with Bitbucket Server integration functionality.

Jenkins Vs Bamboo – REST APIs

Jenkins: Yes Jenkins supports REST API’s.

Bamboo: Yes Bamboo supports REST API’s.

 

Jenkins Vs Bamboo – Test Automation

Jenkins: Jenkins supports test automation using plugins.

Bamboo: Bamboo has built-in with test automation functionality.

 

Jenkins Vs Bamboo – Easy Enterprise-grade permissions

Jenkins: Jenkins supports enterprise-grade permissions with the help of plugins.

Bamboo: Bamboo has built-in with easy Enterprise-grade permissions functionality.

 

Jenkins Vs Bamboo – Pipelines

Jenkins Pipelines – Jenkins has no pipelines support by default. Jenkins uses plugins to support pipelines.

Most used Jenkins plugins for pipelines are: Join Plugin, Promoted Build Plugin.

Bamboo Pipelines – Bamboo has support for pipelines out of the box. In parent plan configuration you simply add child plans and configure the way those are triggered.

 

Jenkins Vs Bamboo – Distributed Builds

Both Bamboo and Jenkins have support for distributed builds.

Jenkins: Jenkins supports distributed builds through the Remote Nodes, sometimes referred as slave nodes or agents.

Bamboo: Bamboo supports distributed builds using Remote Agents.

Source: NSBogan

OTHER INTERVIEW QUESTIONS

  1. OpenShift Interview Questions
  2. Demandware Interview Questions
  3. Visual Studio Interview Questions
  4. Vagrant Interview Questions
  5. 60 Java Multiple Choice Questions
  6. 40 Core Java MCQ Questions
  7. Anaplan Interview Questions And Answers
  8. Tableau Multiple Choice Questions
  9. Python Coding Interview Questions
  10. CSS3 Interview Questions
  11. Linux Administrator Interview Questions
  12. SQL Interview Questions
  13. Hibernate Interview Questions
  14. Kubernetes Interview Questions
  15. Kibana Interview Questions
  16. Nagios Interview Questions
  17. Jenkins Interview Questions
  18. Chef Interview Questions
  19. Puppet Interview Questions
  20. RPA Interview Questions And Answers
  21. Android Interview Questions
  22. Mulesoft Interview Questions
  23. JSON Interview Questions
  24. PeopleSoft HRMS Interview Questions
  25. PeopleSoft Functional Interview Questions
  26. PeopleTools Interview Questions
  27. Peoplesoft Technical Interview Questions
  28. 199 Peoplesoft Interview Questions
  29. 200 Blue Prism Interview Questions
  30. Visualforce Interview Questions
  31. Salesforce Interview Questions

OpenShift Interview Questions And Answers 2018

OpenShift Interview Questions And Answers 2018. Here Coding compiler sharing a list of 30 Red Hat OpenShift interview questions for experienced. These OpenShift questions were asked in various interviews conducted by top MNC companies for DevOps professionals. We are sure that these OpenShift interview questions & answers will help you to crack your next job interview. All the best for your future and happy learning.

OpenShift Interview Questions

  1. What is OpenShift Container Platform?
  2. How OpenShift works with Docker and Kubernetes?
  3. What is OpenShift Online?
  4. What is OpenShift Dedicated?
  5. What is OpenShift Container Platform?
  6. The infrastructure node is providing which services?
  7. What is OpenShift CLI?
  8. What is OpenShift Web Console?
  9. What are Pods in OpenShift?
  10. What is OpenShift Origin?
  11. What are the features of OpenShift Origin?
  12. What can you run on OpenShift?
  13. What are the security controls does OpenShift provide for containers?
  14. What is Source-to-Image (S2I)?
  15. What are the benefits of OpenShift Origin?

You Might Be Interested In:

Kubernetes Interview Questions | Docker Interview Questions

OpenShift Interview Questions And Answers

1) What is OpenShift Container Platform?

A) OpenShift is an open source container application platform by Red Hat based on top of Docker containers and the Kubernetes container cluster manager for enterprise app development and deployment.

2) How OpenShift works with Docker and Kubernetes?

A) OpenShift combines the power of Docker and Kubernetes with an enterprise-ready control system. It enables you to create a Continues Deployment Pipeline with all you need from testing to autoscaling.

3) What is OpenShift Online?

A) OpenShift Online is Red Hat’s public cloud application development and hosting service.

4) What is OpenShift Dedicated?

A) OpenShift Dedicated is Red Hat’s managed private cluster offering, built around a core of application containers powered by Docker, with orchestration and management provided by Kubernetes, on a foundation of Red Hat Enterprise Linux. It’s available on the Amazon Web Services (AWS) and Google Cloud Platform (GCP) marketplaces.

5) What is OpenShift Container Platform?

A) OpenShift Container Platform is Red Hat’s on-premises private platform as a service product, built around a core of application containers powered by Docker, with orchestration and management provided by Kubernetes, on a foundation of Red Hat Enterprise Linux.

5) OpenShift environment that is running on Amazon Web Services consists of which systems?

A) When interacting with an OpenShift environment that is running on Amazon Web Services. The environment consists of the following systems:

  • 1 master nodes
  • 1 infrastructure nodes
  • 24 “application” nodes
  • An NFS server

6) The infrastructure node is providing which services?

A) The infrastructure node is providing several services:

  • Aggregated logging
  • Cluster metrics
  • GitLab

7) What is OpenShift CLI?

OpenShift ships with a feature rich web console as well as command line tools to provide users with a nice interface to work with applications deployed to the platform. The OpenShift tools are a single executable written in the Go programming language and is available for the following operating systems:

  • Microsoft Windows
  • Apple OS X
  • Linux
  • This lab manual
  • The OpenShift Docker registry
  • The OpenShift router
  • Etherpad

8) What is OpenShift Web Console?

A) OpenShift also provides a feature-rich Web Console that provides a friendly graphical interface for interacting with the platform.

9) What are Pods in OpenShift?

A) In OpenShift, the smallest deployable unit is a Pod. A Pod is a group of one or more Docker containers deployed together and guaranteed to be on the same host.

Pods can contain multiple Docker instances. The general idea is for a Pod to contain a “server” and any auxiliary services you want to run along with that server. Examples of containers you might put in a Pod are, an Apache HTTPD server, a log analyzer, and a file service to help manage uploaded files.

OpenShift Origin Interview Questions

OpenShift Interview Questions # 10) What is OpenShift Origin?

A) OpenShift Origin is a distribution of Kubernetes optimized for continuous application development and multi-tenant deployment. OpenShift adds developer and operations-centric tools on top of Kubernetes to enable rapid application development, easy deployment and scaling, and long-term lifecycle maintenance for small and large teams.

OpenShift Interview Questions # 11) What are the features of OpenShift Origin?

A) OpenShift Origin Features:

  • Easily build applications with integrated service discovery and persistent storage.
  • Quickly and easily scale applications to handle periods of increased demand.
  • Support for automatic high availability, load balancing, health checking, and failover.
  • Push source code to your Git repository and automatically deploy containerized applications.
  • Web console and a command-line client for building and monitoring applications.
  • Centralized administration and management of an entire stack, team, or organization.
  • Create reusable templates for components of your system, and iteratively deploy them over time.
  • Roll out modifications to software stacks to your entire organization in a controlled fashion.
  • Integration with your existing authentication mechanisms, including LDAP, Active Directory, and public OAuth providers such as GitHub.
  • Multi-tenancy support, including team and user isolation of containers, builds, and network communication.
  • Allow developers to run containers securely with fine-grained controls in production.
  • Limit, track, and manage the developers and teams on the platform.
  • Integrated Docker registry, automatic edge load balancing, cluster logging, and integrated metrics.

OpenShift Interview Questions # 12) What can you run on OpenShift?

A) OpenShift is designed to run any existing Docker images. Additionally, you can define builds that will produce new Docker images using a Dockerfile.

For an easier experience running your source code, Source-to-Image (S2I) allows developers to simply provide an application source repository containing code to build and run. It works by combining an existing S2I-enabled Docker image with application source to produce a new runnable image for your application.

OpenShift Interview Questions # 13) What are the security controls does OpenShift provide for containers?

A) OpenShift runs with the following security policy by default:

  • Containers run as a non-root unique user that is separate from other system users
  • They cannot access host resources, run privileged, or become root
  • They are given CPU and memory limits defined by the system administrator
  • Any persistent storage they access will be under a unique SELinux label, which prevents others from seeing their content
  • These settings are per project, so containers in different projects cannot see each other by default
  • Regular users can run Docker, source, and custom builds
  • By default, Docker builds can (and often do) run as root. You can control who can create Docker builds through the builds/docker and builds/custom policy resource.
  • Regular users and project admins cannot change their security quotas.

OpenShift Interview Questions # 14) What is Source-to-Image (S2I)?

A) Source-to-Image (S2I) is a toolkit and workflow for building reproducible Docker images from source code. S2I produces ready-to-run images by injecting source code into a Docker container and letting the container prepare that source code for execution.

By creating self-assembling builder images, you can version and control your build environments exactly like you use Docker images to version your runtime environments.

OpenShift Interview Questions # 15) What are the benefits of OpenShift Origin?

A) The benefits available to the developer are numerous:

  • Run a PaaS locally on your laptop
  • Run a PaaS behind your firewall
  • Become a developer on a PaaS and expand your skills and solve interesting technical problems
  • Integrate your middleware or framework into an open source PaaS
  • Create a new thing based on PaaS technology
  • By utilizing an open source IaaS codebase, build a cloud stack using open source

OpenShift Interview Questions # 16) What are the new features introduced in OpenShift Container Platform 3.7?

A) OpenShift Container Platform 3.7 significantly expands how we integrate third-party services for our customers, both on-premises and in the cloud. It includes:

The general availability of OpenShift Service Catalog, which includes a new user experience to make it easier for developers to find the runtimes, frameworks, and services they need to be productive.

Access to AWS through the OpenShift platform In OCP 3.7, AWS and OpenShift users will be able to configure and deploy AWS services from within the OpenShift platform, with a single path for support.

OpenShift Interview Questions # 17) What is OpenShift Cartridges?

A) Cartridges in OpenShift were the focal point for building applications. Each cartridge provided the required libraries, source code, build mechanisms, connection logic, and routing logic along with a pre-configured environment to run the components of your applications.

OpenShift Interview Questions # 18) What is Cartridge vs Image?

A) The easiest replacement term for the cartridge in OpenShift v3 is the image. An image does more than a cartridge from a packaging perspective, providing better encapsulation and flexibility.

But the cartridge concept also included logic for building, deploying, and routing which do not exist in images. In OpenShift v3, these additional needs are met by Source-to-Image (S2I) and templated configuration.

OpenShift Interview Questions # 19) What is Project vs Domain?

A) The project is essentially a rename of the domain from OpenShift v2. Projects do have several features that are not a part of domains in OpenShift v2.

OpenShift Interview Questions # 20) What is Gear vs Container?

A) The gear and container terms are interchangeable. Containers have a cleaner mapping of being one-to-one with images, whereas many cartridges could be added to a single gear. With containers, the collocation concept is satisfied by pods.

Red Hat OpenShift Interview Questions And Answers

21) What is Master vs Broker?

A) Masters in OpenShift v3 do the job of the broker layer in OpenShift v2. However, the MongoDB and ActiveMQ layers used by the broker in OpenShift v2 are no longer necessary because the key-value store etcd is typically installed with each master.

22) What are the features of OpenShift v3?

A) OpenShift v3 is a layered system designed to expose underlying Docker-formatted container image and Kubernetes concepts as accurately as possible, with a focus on easy composition of applications by a developer. For example, install Ruby, push code, and add MySQL.

23) What Are the Layers in OpenShift?

A) The Docker service provides the abstraction for packaging and creating Linux-based, lightweight container images. Kubernetes provides the cluster management and orchestrates containers on multiple hosts.

OpenShift Origin adds:

  • Source code management, builds, and deployments for developers
  • Managing and promoting images at scale as they flow through your system
  • Application management at scale
  • Team and user tracking for organizing a large developer organization
  • Networking infrastructure that supports the cluster

24) What Is the OpenShift Origin Architecture?

A) OpenShift Origin has a microservices-based architecture of smaller, decoupled units that work together. It runs on top of a Kubernetes cluster, with data about the objects stored in etcd, a reliable clustered key-value store. Those services are broken down by function:

REST APIs, which expose each of the core objects.

25) Can you explain about Kubernetes Infrastructure in OpenShift?

A) Within OpenShift Origin, Kubernetes manages containerized applications across a set of containers or hosts and provides mechanisms for deployment, maintenance, and application-scaling. The Docker service packages, instantiates, and runs containerized applications.

A Kubernetes cluster consists of one or more masters and a set of nodes. You can optionally configure your masters for high availability (HA) to ensure that the cluster has no single point of failure.

Controllers, which read those APIs, apply changes to other objects, and report status or write back to the object.

26) What are Masters?

A) The master is the host or hosts that contain the master components, including the API server, controller manager server, and etcd. The master manages nodes in its Kubernetes cluster and schedules pods to run on nodes.

27) What are Nodes?

A) Nodes – A node provides the runtime environments for containers. Each node in a Kubernetes cluster has the required services to be managed by the master. Nodes also have the required services to run pods, including the Docker service, a kubelet, and a service proxy.

28) What is Kubelet?

A) Each node has a kubelet that updates the node as specified by a container manifest, which is a YAML file that describes a pod. The kubelet uses a set of manifests to ensure that its containers are started and that they continue to run.

29) What are Init Containers?

A) A pod can have init containers in addition to application containers. Init containers allow you to reorganize setup scripts and binding code. An init container differs from a regular container in that it always runs to completion. Each init container must complete successfully before the next one is started.

30) What is Image Version Tag Policy?

A) Rather than version numbers, the Docker service allows applying tags (such as v1, v2.1, GA, or the default latest) in addition to the image name to further specify the image desired, so you may see the same image referred to as centos (implying the latest tag), centos:centos7, or fd44297e2ddb.

OTHER INTERVIEW QUESTIONS

  1. Demandware Interview Questions
  2. Visual Studio Interview Questions
  3. Vagrant Interview Questions
  4. 60 Java Multiple Choice Questions
  5. 40 Core Java MCQ Questions
  6. Anaplan Interview Questions And Answers
  7. Tableau Multiple Choice Questions
  8. Python Coding Interview Questions
  9. CSS3 Interview Questions
  10. Linux Administrator Interview Questions
  11. SQL Interview Questions
  12. Hibernate Interview Questions
  13. Kubernetes Interview Questions
  14. Kibana Interview Questions
  15. Nagios Interview Questions
  16. Jenkins Interview Questions
  17. Chef Interview Questions
  18. Puppet Interview Questions
  19. RPA Interview Questions And Answers
  20. Android Interview Questions
  21. Mulesoft Interview Questions
  22. JSON Interview Questions
  23. PeopleSoft HRMS Interview Questions
  24. PeopleSoft Functional Interview Questions
  25. PeopleTools Interview Questions
  26. Peoplesoft Technical Interview Questions
  27. 199 Peoplesoft Interview Questions
  28. 200 Blue Prism Interview Questions
  29. Visualforce Interview Questions
  30. Salesforce Interview Questions

Demandware – Salesforce Commerce Cloud Interview Questions

Demandware Interview Questions And Answers 2018 – Salesforce Commerce Cloud Interview Questions And Answers. Here Coding compiler sharing a list of 20 Demandware certification questions to crack your next commerce cloud job interview. All the best for your future and happy learning.

Demandware Interview Questions

  1. What is Demandware and Salesforce Commerce Cloud?
  2. What kind of services Demandware can offer?
  3. What is Demandware Open Commerce APIs?
  4. What are the advantages of Demandware or Salesforce Commerce Cloud?
  5. What is Commerce Cloud Digital?
  6. What is Commerce Cloud Order Management?
  7. What is Commerce Cloud Endless Aisle?
  8. What is Commerce Cloud Einstein?
  9. What are the advantages of Commerce Cloud Digital?
  10. What are the Commerce Cloud Digital Key Features?

Demandware Certification Questions

1) What is Demandware?

A) Demandware is a software technology that provides a cloud-based e-commerce platform and related services for retailers and brand manufacturers around the world.

Demandware is now Salesforce Commerce Cloud, Salesforce acquired Demandware in 2016. As part of the acquisition by Salesforce renamed the shop system in Salesforce Commerce Cloud.

2) What kind of services Demandware can offer?

A) The Demandware Shop software was a Software-as-a-Service solution. The necessary hardware resources were provided by Demandware so that customers only had to deal with the further development and adaptation of their shop.

3) What is Demandware Open Commerce APIs?

A) The Demandware Open Commerce APIs give us access to the data that powers our store. Currently, the project only supports the “shop flow” APIs, which deal with categories, products, and product search.

4) What are the advantages of Demandware or Salesforce Commerce Cloud?

A) Demandware or Salesforce Commerce Cloud is the top-rated cloud commerce platform is backed by extensive industry experience and a powerful product strategy built on three fundamental differentiators: faster innovation, predictive intelligence, and unified commerce. Brands using Commerce Cloud move to market faster, engage significantly more customers and deliver seamless shopping experiences across all channels—digital, mobile, social, and store.

  • Commerce Cloud is currently powering more than 2000 websites in 50+ countries
  • Commerce Cloud brands grow 2x faster than the industry rate
  • Commerce Cloud brands enjoy 40-60% higher conversion rates than with legacy platforms
  • Over $16 billion worth of merchandise is sold online annually through Commerce Cloud
  • Commerce Cloud is recognized as market leader by both Gartner and Forrester
  • Commerce Cloud is the only vendor that Forrester recognized as leader in both Digital Commerce and POS

5) What is Commerce Cloud Digital?

A) Connect with customers anytime, anywhere, on any device. Inspire the connected customer with unified, personalized shopping experiences across all digital commerce channels: mobile, social, web, and more.

Demandware Interview Questions And Answers

Demandware Interview Questions # 6) What is Commerce Cloud Order Management?

A) Deliver “buy anywhere, service anywhere, fulfill anywhere” shopping experiences unified across all channels with real-time inventory visibility, order lifecycle management, and allocation logic.

Demandware Interview Questions # 7) What is Commerce Cloud Endless Aisle?

A) Extend the freedom and flexibility of digital commerce to the in-person shopping experience. Offer customers limitless product choice, and arm associates with real-time access to digital inventory and customer history.

Demandware Interview Questions # 8) What is Commerce Cloud Einstein?

A) Harnessing the power of AI is easier than you think! Infused into the very fabric of the platform, Einstein delivers AI-powered merchandising insights and highly personalized shopping experiences—no data scientist required.

Demandware Interview Questions # 9) What are the advantages of Commerce Cloud Digital?

A) Connect with the modern shopper anytime, anywhere! By combining the flexibility of the cloud with a rich set of advanced capabilities, Commerce Cloud Digital gives you the power to deliver unique online shopping experiences that exceed customer expectations and crush sales targets—and all in record time.

  • Deliver strategic, personalized shopping experiences at every touchpoint, on any device
  • Roll out continuous innovations without delays, dependencies, or disruptions
  • Launch new sites in weeks and new promotions in minutes
  • Offload IT operations to a unified cloud that is robust, stable, and scalable
  • Unify digital commerce with store operations, POS, order management, and more
  • Maximize productivity with centralized site management and automated tasks

Salesforce Commerce Cloud Interview Questions

Salesforce Commerce Cloud Interview Questions # 10) What are the Commerce Cloud Digital Key Features?

A) Digital Commerce Capabilities – Create unique ecommerce experiences right out of the box.

  • Merchandising and Marketing – Create limitless opportunities for personalized consumer engagement and digital commerce growth.
  • Digital Experience Management – Create highly innovative and relevant brand experiences.
  • Multisite Management and Localization – Launch new sites and explore new regions quickly and easily.
  • Digital Commerce Extensions – Extend commerce to an unlimited number of new channels, including social networks and branded mobile apps.
  • Order Management – Deliver the “buy anywhere, service anywhere, fulfill anywhere” experience.
  • AI-Powered Commerce – Leverage the power of Artificial Intelligence—no data scientist or machine learning expert required.

Salesforce Commerce Cloud Interview Questions # 11) What are B2B Digital Commerce Capabilities?

A) Deliver engaging B2B shopping experiences and provide corporate customers with essential B2B2C ecommerce functionality:

  • Create intuitive order and checkout processes that support large order sizes and follow a business-to-consumer model
  • Provide a differentiated experience, specific price books, and tiered pricing per account group
  • Share data and site functionality between business-to-consumer and business-to-business sites
  • Take orders on behalf of business clients

Salesforce Commerce Cloud Interview Questions # 12) What are Commerce Cloud Order Management Key Features?

A) Distributed Order Management Engine – Simplify processes, maximize efficiencies, and deliver the best possible order fulfillment experience to customers.

  • Extensible Customization and Integration – Save time and effort integrating order management with critical retail operations thanks to restful APIs.
  • Simple Role-Based Interfaces – Empower customer-facing users with order management tools tailored to their specific needs.
  • Unified Commerce Cloud Platform – Unify order management across all channels with seamless, out-of-the-box integration with both Commerce Cloud Digital and Commerce Cloud Store.

Salesforce Commerce Cloud Interview Questions # 13) What are the advantages of Commerce Cloud Endless Aisle?

A) Breathe new life into your store and meet shopper demands with Endless Aisle. This revolutionary solution enables retailers to extend digital capabilities to their physical locations—permanent and pop-up—without having to rip and replace current store solutions.

  • Delight shoppers with natural transitions between online and in-store experiences
  • Offer in-store shoppers the same freedom and flexibility they enjoy online
    Enable a single view of each customer journey by uniting digital and store channels
  • Optimize merchandising, promotions, and services with cross-channel customer insights
  • Arm associates with easy-to-use mobile applications

Salesforce Commerce Cloud Interview Questions # 14) What are Commerce Cloud Endless Aisle Key Features?

A) Inventory Integration – Offer in-store shoppers the same product choices they enjoy online.

  • Order Management Integration – Offer in-store shoppers multiple fulfillment options through Endless Aisle’s integration with Commerce Cloud Order Management.
  • Digital Commerce Integration – Align in-person and online experiences through Endless Aisle’s integration with Commerce Cloud Digital.
  • Empower Store Associates – Arm associates with mobile apps that are familiar, fun, and easy to learn.

Salesforce Commerce Cloud Interview Questions # 15) What is Artificial Intelligence (AI) in Demandware?

A) Artificial Intelligence (AI) is everywhere. People have intelligence-driven experiences every day through favorite apps, product recommendations, face and voice recognition, and more. The connected customer now expects these highly personalized, smart experiences across every brand they interact with—including yours.

AI still remains out of reach for most retailers. Why? Because it’s hard. Beyond the technology itself, the cost and complexity of gathering, analyzing, and interpreting the vast amounts of data produced by customers requires an army of data scientists and machine learning experts.

Demandware Certification Questions # 16) What are the advantages of AI in commerce cloud?

A) Commerce Cloud makes AI easy for everyone—no data scientist or expert required. Commerce Cloud is the only commerce solution with machine learning embedded into the very fabric of the platform, enabling powerful AI capabilities that drive delightful, personalized shopping experiences across digital, store, and mobile channels:

Recommend the best products across all commerce channels
Generate 1:1 predictions for every single shopper in real time
Get smart and boost conversions with data-driven commerce insights
Save time and effort with automated merchandising tasks

Demandware Certification Questions # 17) What are Einstein Key Features?

A) Einstein Product Recommendations – Power 1:1 personalized product recommendations across all channels—both online and in the store.

  • Einstein Commerce Insights – Interpret purchasing behavior with a powerful shopping basket analysis dashboard.
  • Einstein Predictive Sort – Connect customers to products with tailored product sorting.
  • Einstein Search Dictionaries – Eliminate lost sales due to bad search results.

Demandware Certification Questions # 18) What are your roles and responsibilities of Salesforce Certified Commerce Cloud Digital Developer?

A) Troubleshoot file synchronization issues between UX Studio and the sandbox environment

  • Work with the product data model to manage products, their categorization, and associated inventory
  • Modify site search preferences and settings to enable searching for a specified product attribute
  • Create a custom object type to store a custom data type
  • Configure OCAPI permissions for Data and Shop APIs
  • Create a JavaScript controller that leverages a script and renders a template/JSON

Demandware Certification Questions # 19) Hybris vs. Demandware? Difference between Demandware and Hybris?

A) The core main difference:

Demandware is SaaS and you write your code with old JS dialect (Rhino version) on top of DW core just with limited access to API.
Hybris is Framework and you write your code with Java together with full access to Java language features.

Demandware Certification Questions # 20) I am working on Demandware business manager where i need to change the site settings.

Going to Manage Sites> Selecting a site and going to settings,

there is a field called Cartridges where i put up a list of cartridges to be deployed for this site.

I want to add these cartridges to a different hierarchy like inside a folder. Is there a way to define this in the Cartridges field under settings?

A) No, you cannot add cartridges into subfolders. Cartridges need to reside directly in the version directory on the server.

OTHER INTERVIEW QUESTIONS

  1. Visual Studio Interview Questions
  2. Vagrant Interview Questions
  3. 60 Java Multiple Choice Questions
  4. 40 Core Java MCQ Questions
  5. Anaplan Interview Questions And Answers
  6. Tableau Multiple Choice Questions
  7. Python Coding Interview Questions
  8. CSS3 Interview Questions
  9. Linux Administrator Interview Questions
  10. SQL Interview Questions
  11. Hibernate Interview Questions
  12. Kubernetes Interview Questions
  13. Kibana Interview Questions
  14. Nagios Interview Questions
  15. Jenkins Interview Questions
  16. Chef Interview Questions
  17. Puppet Interview Questions
  18. RPA Interview Questions And Answers
  19. Android Interview Questions
  20. Mulesoft Interview Questions
  21. JSON Interview Questions
  22. PeopleSoft HRMS Interview Questions
  23. PeopleSoft Functional Interview Questions
  24. PeopleTools Interview Questions
  25. Peoplesoft Technical Interview Questions
  26. 199 Peoplesoft Interview Questions
  27. 200 Blue Prism Interview Questions
  28. Visualforce Interview Questions
  29. Salesforce Interview Questions
  30. 300 SSIS Interview Questions

Visual Studio Interview Questions And Answers 2018

Visual Studio Interview Questions And Answers 2018. Here Coding compiler sharing a list of 20 Visual Studio questions for freshers and experienced. These .NET Visual Studio interview questions will help you to crack your next Visual Studio job interview. All the best for your future and happy learning.

Visual Studio Interview Questions

  1. What are the different activities we can do with Visual Studio?
  2. What languages can you code in Visual Studio?
  3. What is Microsoft Visual Studio used for?
  4. What are the new features in Visual Studio 2017?
  5. What is a Solution Explorer in Visual Studio?
  6. What is Refactoring?
  7. What are the different Refactoring options in Visual Studio?
  8. How do you interact with Git in Visual Studio?
  9. What are the benefits of Azure Functions Tools?
  10. What’s the advantage of creating a project in Visual Studio for a Python application?

Visual Studio Interview Questions And Answers

1) What are the different activities we can do with Visual Studio?

A) Visual Studio supports various activities like developing, build, debug, test, deploy, version control, devops, improve performance, extend and data.

  • Develop – Write and manage your code using the code editor.
  • Build – Compile and build your source code.
  • Debug – Investigate and fix problems with your code.
  • Test – Organize your testing processes.
  • Deploy – Share your apps using Web Deploy, InstallShield, and Continuous Integration, and more.
  • Version Control – Share code using version control technologies such as Git and TFVC.
  • DevOps – Continuously build and release your apps in the cloud, and implement Agile practices with VSTS.
  • Improve Performance – Identify bottlenecks and optimize code performance by using diagnostic tools.
  • Extend – Add your own functionality to the Visual Studio IDE to improve your development experience.
  • Data – Create data apps that connect to any database or service, and anywhere—local or cloud.

2) What languages can you code in Visual Studio?

A) Visual Studio supports multiple programming languages like:

C# – A modern object-oriented programming language with functional programming capabilities for building any application on the .NET platform.

Visual Basic – A modern, easy to learn, the object-oriented programming language for the .NET platform, focused on easily creating Windows applications.

C++ – A powerful and flexible programming language and development environment for creating applications for Windows, Linux, iOS, and Android.

F# – A modern functional programming language with object-oriented capabilities for the .NET platform, focused on making Functional Programming easier for any task.

JavaScript – A lightweight, cross-platform, scripting language often used to help make web pages more interactive.

TypeScript – A superset of JavaScript that compiles to plain JavaScript and enables you to create more scalable code.

Python – A dynamic object-oriented, high-level programming language often used for rapid application development.

R – An extensible programming language typically used for statistical computing and graphics.

3) What is Microsoft Visual Studio used for?

A) Develop modern web apps using Visual Studio and powerful open tools.

Web and Cloud Applications:

Web development – Build web apps with ASP.NET and standards-based technologies like HTML, JavaScript, and CSS.

Azure development and management – Easily build, test, deploy, and manage scalable apps and services on the Microsoft cloud.

Python – Interactive development for Python apps, using familiar frameworks including Django and Flask.

Node.js – Build scalable network applications using Node.js, an asnchronous, event-driven JavaScript runtime.

Data storage and processing – Tools and frameworks to develop and test data solutions using SQL Server, Azure Data Lake, or Hadoop.

Data science and analytical applications – Languages and tooling for creating data science applications, including Python, R, and F#.

Office/SharePoint development – Create Office and SharePoint add-ins and solutions using C#, Visual Basic, and JavaScript.

Windows Applications

Develop apps and games using Visual Studio to reach every device running Windows.

Universal Windows Platform development – Develop applications for Windows 10 with the Windows Universal Platform and C#, VB, or C++.

.NET Desktop development – Build WPF, Windows Forms, and console applications using the .NET Framework.

Windows development with C++ – Build classic Windows-based applications using the power of MFC, ATL, and the Microsoft C++ toolset.

Mobile & Gaming Applications

Create native or hybrid mobile apps that target Android, iOS, and Windows.

Mobile development with .NET – Build cross-platform applications for iOS, Android, or Windows using Xamarin.

Game development with Unity – Create 2D and 3D games with unity, a powerful cross-platform development environment.

Mobile development with JavaScript – Build cross-platform applications for iOS, Android, or Windows using the Apache Cordova framework.

Mobile development with C++ – Build cross-platform applications for iOS, Android, or Windows using C++.

Game development with C++ – Use the full power of C++ to build professional games powered by DirectX, Unreal, or Cocos2D.

Other Toolsets

Visual Studio extension development – Create add-ons that extend Visual Studio, such as commands, code analyzers, and tool windows.

Linux development with C++ – Create and debug applications running in a Linux environment.

.NET Core cross-platform development – Build cross-platform applications using .NET Core, ASP.NET Core, HTML, JavaScript, and container development tools.

4) What are the new features in Visual Studio 2017?

A) New features available in Visual Studio 2017:

Unparalleled productivity for any dev, any app, and any platform.

Use Visual Studio 2017 to develop apps for Android, iOS, Windows, Linux, web, and cloud.

Code fast, debug and diagnose with ease, test often, and release with confidence.

You can also extend and customize Visual Studio by building your own extensions.

Use version control, be agile, and collaborate efficiently

New features available in Visual Studio 2015 – 2017:

Redefined fundamentals – A new setup experience means that you can install more quickly and install what you want when you need it.

Performance and productivity – More focused on new and modern mobile, cloud, and desktop development capabilities.

Cloud app development with Azure – A built-in suite of Azure tools enable you to easily create cloud-first apps powered by Microsoft Azure.

Windows app development – Use the UWP templates in Visual Studio 2017 to create a single project for all Windows 10 devices – PC, tablet, phone, Xbox, HoloLens, Surface Hub, and more.

Mobile app development – In Visual Studio 2017, you can innovate and get results fast with Xamarin, which unifies your multi-platform mobile requirements by using one core codebase and set of skills.

Cross-platform development – Seamlessly deliver software to any targeted platform. Extend DevOps processes to SQL Server through Redgate Data Tools and safely automate database deployments from Visual Studio.

Games development – With Visual Studio Tools for Unity (VSTU), you can use Visual Studio to write game and editor scripts in C# and then use its powerful debugger to find and fix errors.

AI development – With Visual Studio Tools for AI (new in 15.5), you can use the productivity features of Visual Studio to accelerate AI innovation. Build, test, and deploy Deep Learning / AI solutions that seamlessly integrate with Azure Machine Learning.

5) What is a Solution Explorer in Visual Studio?

A) Solution Explorer shows you a graphical representation of the hierarchy of files and folders in your project, solution, or code folder. You can browse the hierarchy and navigate to a file in Solution Explorer.

Microsoft Visual Studio Interview Questions

Visual Studio Interview Questions # 6) What is Refactoring?

A) Refactoring is the process of improving your code after it has been written. Refactoring changes the internal structure of the code without changing its behavior.

Visual Studio Interview Questions # 7) What are the different Refactoring options in Visual Studio?

A) The different refactoring option in visual studio are:

  • Add parameter (from CallSite)
  • Generate overrides
  • Add named argument
  • Add null-check for parameters
  • Insert digit-separators into literals
  • Change base for numeric literals (for example, hex to binary)
  • Convert if-to-switch
  • Remove unused variable

Visual Studio Interview Questions # 8) How do you interact with Git in Visual Studio?

A) When you are working with a project in Visual Studio, you can set up and quickly commit and publish your code to a Git service. You can also manage your Git repositories by using menu clicks from buttons in the bottom right-hand corner of the IDE.

Visual Studio Interview Questions # 9) What are the benefits of Azure Functions Tools?

A) The Azure Functions Tools provides the following benefits:

Edit, build, and run functions on your local development computer.
Publish your Azure Functions project directly to Azure.

Use WebJobs attributes to declare function bindings directly in the C# code instead of maintaining a separate function.json for binding definitions.
Develop and deploy pre-compiled C# functions.

Pre-compiled functions provide a better cold-start performance than C# script-based functions. Code your functions in C# while having all of the benefits of Visual Studio development.

Visual Studio Interview Questions # 10) What’s the advantage of creating a project in Visual Studio for a Python application?

A) Python applications are typically defined using only folders and files, but this structure can become complex as applications become larger and perhaps involve auto-generated files, JavaScript for web applications, and so on. A Visual Studio project helps manage this complexity.

The project (a .pyproj file) identifies all the source and content files associated with your project, contains build information for each file, maintains the information to integrate with source-control systems, and helps you organize your application into logical components.

.NET Visual Studio Interview Questions And Answers

Visual Studio Interview Questions # 11) Can you explain about browser link?

A) Browser Link is a new feature in Visual Studio 2013 that creates a communication channel between the development environment and one or more web browsers. You can use Browser Link to refresh your web application in several browsers at once, which is useful for cross-browser testing.

Visual Studio Interview Questions # 12) Can you explain about Namespace?

A) Namespaces are logical groupings of names used within a program. There may be multiple namespaces in a single application code, grouped based on the identifiers’ use. The name of any given identifier must appear only once in its namespace.

Visual Studio Interview Questions # 13) Explain about Assembly and Manifest?

A) An assembly is a collection of one or more files and one of them (DLL or EXE) contains a special metadata called Assembly Manifest. The manifest is stored as binary data and contains details like versioning requirements for the assembly, the author, security permissions, and list of files forming the assembly.

An assembly is created whenever a DLL is built. The manifest can be viewed programmatically by making use of classes from the System.Reflection namespace. The tool Intermediate Language Disassembler (ILDASM) can be used for this purpose. It can be launched from the command prompt or via Start> Run.

Visual Studio Interview Questions # 14) Do you know about DLL Hell? Explain it?

A) DLL hell is the problem that occurs when an installation of a newer application might break or hinder other applications as newer DLLs are copied into the system and the older applications do not support or are not compatible with them. .NET overcomes this problem by supporting multiple versions of an assembly at any given time. This is also called side-by-side component versioning.

Visual Studio Interview Questions # 15) What is CLR?

A) Common Language Runtime (CLR) is a run-time environment that manages the execution of .NET code and provides services like memory management, debugging, security, etc. The CLR is also known as Virtual Execution System (VES).

Advanced Visual Studio Interview Questions For Experienced

Visual Studio Interview Questions # 16) What is Architecture Explorer in Visual Studio?

A) use Architecture Explorer in Visual Studio to find specific code.

Visual Studio Interview Questions # 17) How to detect Clone Code in Visual Studio?

A) Code clones are separate fragments of code that are very similar. They are a common phenomenon in an application that has been under development for some time. Clones make it hard to change your application because you have to find and update more than one fragment.

Visual Studio Enterprise can help you find code clones so that you can refactor them.

You can either find the clones of a specific fragment, or find all clones in your solution. In addition to discovering direct copies, the clone analysis tool can find fragments which differ in the names of variables and parameters, and in which some statements have been rearranged.

The code clone analyser searches for duplicate code in Visual C# and Visual Basic projects throughout your Visual Studio solution.

Visual Studio Interview Questions # 18) How to generate Sequence diagrams in Visual Studio?

A) To visualize how the code implements a particular method, create a sequence diagram from that method in Visual Studio Ultimate. The sequence diagram shows the interaction between objects as a series of lifelines and messages.

Lifelines represent instances of objects, and messages represent method calls between those objects. You can generate sequence diagrams from Visual C# .NET or Visual Basic .NET code, but not from projects that share code across multiple apps.

Visual Studio Interview Questions # 19) What is the use of The Code Definition window in Visual Studio?

A) Keyboard: CTRL + \, D
Menu: View -> Code Definition Window
Command: View.CodeDefinitionWindow
Versions: 2008,2010

Ever want to just click on a reference and see the definition as you go? Well it’s time to get reintroduced to the Code Definition Window.

Visual Studio Interview Questions # 20) Shortcut Keys for debugging in Visual Studio?

A) Visual Studio Debugging Shortcut Keys:

Ctrl-Alt-V: A Displays the Auto window to view the values of variables currently in the scope of the current line of execution within the current procedure
Ctrl-Alt-Break: Temporarily stops the execution of all processes in a debugging session. Available only in run mode
Ctrl-Alt-B: Displays the Breakpoints dialog, where you can add and modify breakpoints
Ctrl-Alt-C: Displays the Call Stack window to display a list of all active procedures or stack frames for the current thread of execution. Available only in break mode
Ctrl-Shift-F9: Clears all of the breakpoints in the project
Ctrl-Alt-D: Displays the Disassembly window

Source: Visual Studio Documentation

Related .NET Interview Questions

.NET Interview Questions

ASP.NET Interview Questions And Answers

OTHER INTERVIEW QUESTIONS

  1. Vagrant Interview Questions
  2. 60 Java Multiple Choice Questions
  3. 40 Core Java MCQ Questions
  4. Anaplan Interview Questions And Answers
  5. Tableau Multiple Choice Questions
  6. Python Coding Interview Questions
  7. CSS3 Interview Questions
  8. Linux Administrator Interview Questions
  9. SQL Interview Questions
  10. Hibernate Interview Questions
  11. Kubernetes Interview Questions
  12. Kibana Interview Questions
  13. Nagios Interview Questions
  14. Jenkins Interview Questions
  15. Chef Interview Questions
  16. Puppet Interview Questions
  17. RPA Interview Questions And Answers
  18. Android Interview Questions
  19. Mulesoft Interview Questions
  20. JSON Interview Questions
  21. PeopleSoft HRMS Interview Questions
  22. PeopleSoft Functional Interview Questions
  23. PeopleTools Interview Questions
  24. Peoplesoft Technical Interview Questions
  25. 199 Peoplesoft Interview Questions
  26. 200 Blue Prism Interview Questions
  27. Visualforce Interview Questions
  28. Salesforce Interview Questions
  29. 300 SSIS Interview Questions
  30. PHP Interview Questions And Answers