Modernizing Java EE Applications Quiz Answers

Get Modernizing Java EE Applications Quiz Answers

Learn about the techniques and tools available to take existing applications and update them to run on Cloud Native computing platforms. Complete this course to level up in your understanding of modernization and migration options and earn an IBM Badge.

Enroll on Cognitive Class

Module 1 – Introduction to Application Modernization

Question: What is the biggest factor in deciding to start the modernizing process for an application?

  • Business objective
  • Business value
  • Principles of the company
  • The budget

Question: Which is an indicator that an application would be a good candidate for migrating by rebuilding to microservices based on return on investment?

  • It has a small or declining base of users.
  • It is mature and does not have many update/change requests.
  • It has a high degree of technical effort to migrate.
  • It has multiple changes in a year.

Module 2 – Containers and Container Orchestration

Question: Containers start quickly compared to virtual machines for what reason?

  • Not true – containers and virtual machines start at the same rate.
  • Containers have limited memory capacity.
  • Containers have limited storage capacity.
  • There is no operating system to load, only a process needs to start.

Question: What is a benefit of container orchestration with Kubernetes?

  • High availability and fault tolerance
  • Automatic container storage persistence
  • Commands to vertically scale containers
  • Automatic container image builds

Module 3 – Microservices and DevOps

Question: When an application is implemented in a Microservices style, what are the benefit(s) that can be expected?

  • In the production environment, components can be individually scaled as needed to meet performance demands.
  • Components evolve and are updated at their own pace giving development teams more autonomy and productivity.
  • Teams have the flexibility to choose the programming language for components based on the needs of the component.
  • All three benefits are achieved.

Question: Which of the below is a key tenet of the microservice architecture?

  • Services interact in a tightly coupled architecture.
  • Services are encapsulated behind concrete programming interfaces.
  • A service is deployed only once and can’t be changed.
  • A container can have multiple services.

Final Exam

Question: When modernizing an existing application to use a cloud deployment model, which of the following are broadly accepted approaches that have demonstrated success?

  • Build a container containing the monolithic application and runtime that can be deployed to the cloud.
  • Update the technology stack to cloud versions and separate components based on existing application modules.
  • Break down logical structure of monolith into microservices, potentially in phases using the Strangler pattern.
  • All three are viable options.

Question: Which is an indicator that an application would be a good candidate for migrating by rebuilding to microservices based on return on investment?

  • It has a small or declining base of users.
  • It uses a centralized database.
  • It has a high degree of technical effort to migrate.
  • Its updates require extended service outages

Question: Rewriting the functionality of the old app to take advantage of a microservice architecture is an example of?

  • Repackaging
  • Rebranding
  • Replatforming
  • Refactoring

Question: Which three methods are examples of application migrationtechniques?

  • Replatform, Redo, Redeploy
  • Repackage, Redeploy, Refactor
  • Replatform, Repackage, Refactor
  • Redeploy, Refactor, Repackage

Question: When the replatform technique is used to modernize an application there is usually very little to no code changes required.

  • True
  • False

Question: Transformation Advisor can only be used to analyse Java EE applications running on WebSphere Application Server.

  • True
  • False

Question: It’s always required to move the associated middleware along with the application when performing a replatform migration.

  • True
  • False

Question: Which is an indicator that an application would be a good candidate for migrating by rebuilding to microservices based on return on investment?

  • It has a substantial user base or is growing in use.
  • It is mature and does not have many update/change requests.
  • It has a high degree of technical effort to migrate.
  • It uses a centralized database.

Question: What does a rolling update in Kubernetes perform?

  • Adds worker nodes to a cluster without disrupting running applications.
  • Scales an application to the desired number of instances.
  • Stops existing pods before starting updated application pods.
  • A zero-downtime update by incrementally updating pod instances with new ones.

Question: Containers allow you to quickly instantiate new applications or horizontal application copies unlike VMs.

  • True
  • False

Question: At its core, Kubernetes can be described as?

  • Database with watchers and controllers
  • Controller for containers
  • Monitoring system
  • Server and Client

Question: A pod is the smallest deployable unit that can be created and managed in Kubernetes. It can contain one or more containers.

  • True
  • False

Question: What is a benefit of container orchestration with Kubernetes?

  • Automatic container storage persistence
  • Commands to vertically scale containers
  • Automatic scheduling and scaling
  • Enforcement of one container per pod

Question: Containers have become popular with developers recently for which reason?

  • Containers as a concept are brand new, invented by Docker.
  • Containers are mini-monoliths with a single layer for the filesystem.
  • The tooling around Docker makes it easy to find and use containers.
  • It is efficient to run multiple processes in a container compared to vms.

Question: What is the optimal and preferred number of processes to run in a container?

  • one
  • two
  • three
  • any number

Question: A container is a process running in isolation with a filesystem composed of the necessary files and other dependencies needed for it to execute.

  • True
  • False

Question: The Strangler pattern can be an effective approach to migrate applications to microservices by moving one component at a time until all components are replaced.

  • True
  • False

Question: An application split into microservices may expose the same APIs as its monolithic equivalent.

  • True
  • False

Question: It is better to manage CI/CD pipelines separately from the source code repository of a microservice component.

  • True
  • False

Question: Which of the below is a key tenet of the microservice architecture?

  • Monoliths are broken down into many small services.
  • A container can have multiple services.
  • A service is deployed only once and can’t be changed.
  • Services interact in a tightly coupled architecture.

Question: Which of the following are best practices according to the 12 factor methodology?

  • Multiple code bases for a component.
  • Storing configuration with code.
  • Saving event data to local storage.
  • None of the above.

Question: Microservices are an architectural style that

  • Realizes the full benefits of cloud native.
  • Minimizes the full potential of cloud native.
  • Hides the advantages of cloud native.
  • None of the above.

Question: The microservices architecture simplifies the creation of large silo applications from decoupled pieces.

  • True
  • False

Question: Which of the below is a key tenet of the microservice architecture?

  • Services are optimized for a single function.
  • A container can have multiple services.
  • A service is deployed only once and can’t be changed.
  • Services interact in a tightly coupled architecture.

Conclusion:

We hope you know the correct answers to Modernizing Java EE Applications If Queslers helped you to find out the correct answers then make sure to bookmark our site for more Course Quiz Answers.

If the options are not the same then make sure to let us know by leaving it in the comments below.

Course Review:

In our experience, we suggest you enroll in this and gain some new skills from Professionals completely free and we assure you will be worth it.

This course is available on Cognitive Class for free, if you are stuck anywhere between quiz or graded assessment quiz, just visit Queslers to get all Quiz Answers and Coding Solutions.

More Courses Quiz Answers >>

Building Cloud Native and Multicloud Applications Quiz Answers

Accelerating Deep Learning with GPUs Quiz Answers

Blockchain Essentials Cognitive Class Quiz Answers

Deep Learning Fundamentals Cognitive Class Quiz Answers

Hadoop 101 Cognitive Class Answers

Machine Learning With R Cognitive Class Answers

Machine Learning with Python Cognitive Class Answers

Leave a Reply

Your email address will not be published.