Question 80 of 144
SK0-005 server-administration Practice Question
A company is migrating a legacy line-of-business application from Windows Server 2012 R2 to a new Windows Server 2022 server that is a member of an Active Directory domain. The application runs as a Windows service under a domain service account named CORP\svc_app. The service account has been granted the 'Log on as a service' user right on the old server, and the application is configured to listen on a static TCP port 8443. After installing the application on the new server and configuring it with the same service account and port, the application fails to start. The administrator checks the Windows Event Viewer and sees two errors in the System log: 'The CORP\svc_app service failed to start due to the following error: The service did not start due to a logon failure' and 'The service cannot bind to the designated port 8443'. The administrator has already verified that the service account's password is correct and has not expired, that the account is enabled, that the port 8443 is not being used by another service, and that the Windows Firewall has an inbound rule allowing traffic on port 8443. The application's configuration file correctly points to port 8443. What should the administrator do to resolve the issue?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Grant the 'Log on as a service' user right to the CORP\svc_app account via Local Security Policy or Group Policy.
The correct answer is B. The 'Log on as a service' user right is a security policy setting that must be explicitly assigned to a service account on each individual server. Even though the account had this right on the old server, it does not automatically carry over to the new server. Without this right, the service cannot start, and the 'logon failure' error is a classic symptom. Option A is incorrect because the password was already verified as correct. Option C is incorrect because the application requires a static port (port 8443) and changing to a dynamic port would break client connectivity. Option D is incorrect because restarting the server does not assign the missing user right and will not resolve the logon failure.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Restart the Windows Server 2022 server to apply any pending policy changes.
Why it's wrong here
Restarting does not assign the missing 'Log on as a service' right; the right must be explicitly granted before the service can start.
- ✓
Grant the 'Log on as a service' user right to the CORP\svc_app account via Local Security Policy or Group Policy.
Why this is correct
The 'Log on as a service' right is required for a service account to start a service. It must be assigned on the new server; without it, the service cannot start, causing the logon failure error.
- ✗
Configure the application to use a dynamic port instead of the static port 8443.
Why it's wrong here
The application is designed to use a static port; changing to a dynamic port would likely break client connectivity and is not a proper fix for the logon failure.
- ✗
Reset the service account password and update the service configuration.
Why it's wrong here
The password was already verified correct, so resetting it is unnecessary and would not fix the missing 'Log on as a service' right.
Visual reference
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jul 26, 2026
This SK0-005 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SK0-005 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.