EX188 Registry And Security Practice Question
A security engineer is troubleshooting why signature verification fails when pulling an image from a trusted registry. The policy file (/etc/containers/policy.json) specifies 'signedBy' using a GPG key, but the transport uses 'dir://'. Where must the public GPG key be imported for Podman to successfully verify the signature?
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
✓
Into the local GnuPG keyring using 'gpg --import'
Public keys used for verification must be imported into the local GPG keyring managed by GnuPG.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Into the local GnuPG keyring using 'gpg --import'
Why this is correct
Podman uses the GnuPG keyring to verify signatures when configured with GPG verification.
- ✗
Into ~/.config/containers/policy.d/keys/
Why it's wrong here
This directory path does not exist for key management.
- ✗
Into /etc/containers/certs.d/keys/
Why it's wrong here
Certs.d is for TLS certificates, not GPG keys.
- ✗
Into /var/lib/containers/sigstore/
Why it's wrong here
sigstore stores signature blobs, not the trusted public keys directly.
About these practice questions
This EX188 question is part of Courseiva's 296-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Red Hat exam blueprint
This EX188 practice question is part of Courseiva's free Red Hat 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 EX188 exam.