CompTIA Linux+ XK0-005 (v7) Practice Question

Your team needs to deploy a signed file for an internal web service using an existing private key (server.key) and signing request (server.csr). The file must remain valid for one year and use SHA-256. Which command generates a signed output using the private key itself rather than an outside issuer?

  • openssl genrsa -out server.crt 2048

  • openssl x509 -req -in server.csr -CA rootCA.crt -CAkey rootCA.key -CAcreateserial -days 365 -out server.crt

  • openssl req -new -x509 -sha256 -key server.key -days 365 -out server.crt

  • openssl req -newkey rsa:2048 -nodes -keyout server.key -days 365 -out server.csr

CompTIA Linux+ XK0-005 (v7)
Security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

SAVE $47
$390.00 $343.00
Bash, the Crucial Exams Chat Bot
AI Bot