Assignment 2: Cant install Apache Benchmark tool with terminal command

I ran the terminal command as listed but the terminal keeps giving me error saying “The No new privileges flag is set …”

Here is the screen shot:

Could you please help me with this issue ?

Thank you very much !

You’re running the command in the IDE terminal instead of AWS CloudShell. The local container environment has security restrictions (the no new privileges flag) that block sudo execution.

Open the AWS Management Console in your browser(step 2.1), launch AWS CloudShell from the top-right navigation bar (the terminal icon), and run the command there:

sudo yum install httpd-tools -y