New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

ECCouncil EC-Council Certified DevSecOps Engineer (ECDE) 312-97 Question # 12 Topic 2 Discussion

ECCouncil EC-Council Certified DevSecOps Engineer (ECDE) 312-97 Question # 12 Topic 2 Discussion

312-97 Exam Topic 2 Question 12 Discussion:
Question #: 12
Topic #: 2

(Elizabeth Moss has been working as a DevSecOps engineer in an IT company located in San Diego, California. Due to the robust security and cost-effective service provided by AWS, her organization transferred all the workloads from on-prem to AWS cloud in 2017. Elizabeth would like to prevent committing AWS keys into repositories; therefore, she created a global git-templates directory using command line. Then, she created another directory, named it as hooks, wherein she created a file named pre-commit. In the pre-commit file, Elizabeth pasted the script that would prevent committing AWS keys into the repositories. She would like to ensure that the hook is executable. Which of the following command should Elizabeth run to make sure that the pre-commit hook is executable?)


A.

chmod a+x ~/.git-templates/hooks/pre-commit.


B.

chmod a+e ~/.git-templates/hooks/pre-commit.


C.

chmod a+x ~/.hooks/git-templates/pre-commit.


D.

chmod a+e ~/.hooks/git-templates/pre-commit.


Get Premium 312-97 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.