Accenture Interview Question

Why and how profile is used in Spring boot?