Kcna Kubernetes And Cloud Native Associate · Free Practice Question Medium

Question 51

You are a Product Owner responsible for a microservices-based cloud-native application. You need to make a decision regarding the granularity of your services. Which of the following approaches aligns best with the microservices architecture principles?

  • A

    Create microservices based on the organizational structure

  • B

    Combine all functionalities into a single service for performance optimization

  • C

    Create a separate microservice for each database table

  • D

    Group functionalities based on bounded contexts

Reveal correct answer

Correct answer: D

A.

Creating microservices based on the organizational structure (Conway's Law) could work but is not inherently aligned with the microservices architecture principles.

B.

Combining all functionalities into a single service essentially creates a monolith, which contradicts the microservices architecture principles.

C.

Creating a separate microservice for each database table could result in services that are too fine-grained, leading to higher complexity.

D.

Grouping functionalities based on bounded contexts aligns well with domain-driven design, a key principle in microservices architecture.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need