Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

EC-Council 312-97 Exam - Topic 7 Question 13 Discussion

Posted by Toshia on Jun 26, 2026 at 08:19 PM

(Andrew Gerrard has recently joined an IT company located in Fairmont, California, as a DevSecOps engineer. Due to robust security and cost-effective service provided by AWS, his organization has migrated all the workloads from on-prem to AWS cloud in January of 2020. Andrew's team leader has asked him to integrate AWS Secret Manager with Jenkins. To do so, Andrew installed the ''AWS Secret Manager Credentials provider'' plugin in Jenkins and configured an IAM policy in AWS that allows Jenkins to take secrets from AWS Secret manager. Which of the following file should Andrew edit to add access id and secret key parameters along with the region copied from AWS?.)

Suggested Answer: B

On Linux systems, Jenkins environment variables such as AWS access key ID, secret access key, and default region are commonly configured in the /etc/sysconfig/Jenkins file. This file allows administrators to define environment variables that are loaded when the Jenkins service starts. By placing AWS credentials and region information in this file, Jenkins jobs and plugins---such as the AWS Secrets Manager Credentials Provider---can securely access AWS resources. The other options reference invalid paths or unrelated configuration files (such as Filebeat). Editing /etc/sysconfig/Jenkins ensures consistent credential availability across Jenkins jobs while supporting secure integration with AWS services during the Code stage.


Get Premium 312-97 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
21 comments · newest first
EU
Eugene 2 days ago
But A seems less common for Jenkins. B is more standard.
MA
Mari 8 days ago
I’m leaning towards A) /etc/file/Jenkins. It feels more straightforward.
TI
Timothy 13 days ago
I agree, B makes sense. It's where Jenkins settings usually go.
WI
William 18 days ago
I think it's B) /etc/sysconfig/Jenkins. Seems like the right place for config.
IL
Ilene 23 days ago
I think B is the most common file for this.
PA
Paul 28 days ago
B) is the best option. It’s where environment variables go.
SH
Sharmaine 1 month ago
I lean towards A, but B seems more appropriate.
RO
Rory 1 month ago
I feel confident about B as well. It's standard practice.
BA
Barney 1 month ago
B is definitely the right choice. It's where Jenkins settings are.
ST
Stephen 2 months ago
Not sure, but I feel like A) /etc/file/Jenkins could work too.
AD
Adria 2 months ago
I agree, B makes sense for configuration.
EL
Eleonora 2 months ago
I think it's B) /etc/sysconfig/Jenkins. Seems logical.
GE
Gertude 2 months ago
Why would you need to edit that file for AWS secrets? Seems off.
JE
Jerry 2 months ago
I agree with B, that's the standard for Jenkins configs.
DA
Dawne 2 months ago
Wait, is it really that straightforward?
RH
Rhea 3 months ago
I think it might be A) /etc/file/Jenkins instead.
FR
Frederick 3 months ago
It's definitely B) /etc/sysconfig/Jenkins.
DE
Delfina 3 months ago
I don't think it's /etc/filebeat/filebeat.yml since that's usually for logging configurations, but I could be wrong.
AL
Alona 3 months ago
I feel like I might have seen /etc/file/Jenkins mentioned in a tutorial, but I can't recall if that's the right one for AWS credentials.
EL
Elvera 3 months ago
I remember practicing a similar question about configuring Jenkins with AWS, and I think it might be /etc/sysconfig/Jenkins.
NE
Nettie 4 months ago
I think the file we need to edit is related to Jenkins configuration, but I'm not entirely sure which one it is.
0/2000 characters

Save Cancel