Twelve Factor Application Principles and CAP Event Handling Quiz
5 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which of the following are characteristics of a Twelve-Factor application?

  • Strictly separate build and run stages (correct)
  • Multiple codebases tracked in revision control
  • One deploy for each codebase
  • Multiple deploys for each codebase

Which of the following is a characteristic of CAP event handling?

  • You can register multiple event handlers for each event phase (correct)
  • You can register only one event handler for a specific event
  • You can register event handlers with instances of cds-service to add custom logic
  • You must use the handler registration API srv.emit(<event>) to de-register event handlers

Which property of a Java app developed using the Twelve-Factor Microservices methodology is mandated by the concurrency factor?

  • The app requires a stateful backing service
  • The app is self-contained
  • The app can be scaled outward via the process model
  • The app can be executed as a stateless process (correct)

Which of the following is NOT a characteristic of a Twelve-Factor application?

<p>Multiple deploys for each codebase (A)</p> Signup and view all the answers

Which of the following is NOT a characteristic of CAP event handling?

<p>You can register only one event handler for a specific event (D)</p> Signup and view all the answers

Flashcards

Twelve-Factor Application: Separate Build and Run Stages

In Twelve-Factor apps, the build process prepares the application for deployment, while the run stage focuses on its execution.

CAP: Multiple Event Handlers

CAP event handling allows you to attach multiple functions (event handlers) to different stages of an event's lifecycle, enabling a chain of actions based on the event.

Twelve-Factor Statelessness

Twelve-Factor Microservices emphasizes statelessness, meaning each request is processed without relying on prior states. This ensures consistent results across multiple executions.

Twelve-Factor: One Codebase for Deploys

A Twelve-Factor application should have a single codebase for all deployments, promoting consistency and maintainability.

Signup and view all the flashcards

CAP: Single Event Handler

CAP event handling prioritizes a single designated handler for each specific event, ensuring a defined and controlled response.

Signup and view all the flashcards

More Like This

Use Quizgecko on...
Browser
Browser