Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exam sample, question 38 #24

Open
MatCyg opened this issue Jan 28, 2022 · 1 comment
Open

Exam sample, question 38 #24

MatCyg opened this issue Jan 28, 2022 · 1 comment

Comments

@MatCyg
Copy link

MatCyg commented Jan 28, 2022

I believe there is a mistake in question 38. The question is about the following YAML configuration:

management:
server:
  port: 9091

These are the possible answers:

What is the effect of this configuration? (choose one)
A. Actuator endpoints are accessible on port 9091.
B. The application is accessible on port 9091.

The question indicates there is only one correct answer, but both of them are correct because of the missing whitespace in the YAML snippet. Please correct me if I am wrong

@ThijsBoehme
Copy link

Indeed, because of the missing whitespace the property affects the entire application. A port for the actuator endpoints is not specified, and thus both server and actuator endpoints are available on port 9091.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants