Hello Cloud Learners,
In the process of preparing for the exam, I find examples of questions on the Internet. I will post them here and on my site all topics at once, along with explanations.
I hope this will be helpful to those who want to quickly go over the questions on each topic, as I plan to do.
A company is migrating a legacy application to Amazon EC2. The application uses a username and password stored in the source code to connect to a MySQL database. The database will be migrated to an Amazon RDS for MySQL DB instance. As part of the migration, the company wants to implement a secure way to store and automatically rotate the database credentials.
Which approach meets these requirements?
- Store the database credentials in environment variables in an Amazon Machine Image (AMI). Rotate the credentials by replacing the AMI.
- Store the database credentials in AWS Systems Manager Parameter Store. Configure Parameter Store to automatically rotate the credentials.
- Store the database credentials in environment variables on the EC2 instances. Rotate the credentials by relaunching the EC2 instances.
- Store the database credentials in AWS Secrets Manager. Configure Secrets Manager to automatically rotate the credentials
An organization needs to provision a new Amazon EC2 instance with a persistent block storage volume to migrate data from its on-premises network to AWS. The required maximum performance for the storage volume is 64,000 IOPS.
In this scenario, which of the following can be used to fulfill this requirement?
- Directly attach multiple Instance Store volumes in an EC2 instance to deliver maximum IOPS performance.
- Launch a Nitro-based EC2 instance and attach a Provisioned IOPS SSD EBS volume (io1) with 64,000 IOPS.
- Launch an Amazon EFS file system and mount it to a Nitro-based Amazon EC2 instance and set the performance mode to Max I/O.
- Launch any type of Amazon EC2 instance and attach a Provisioned IOPS SSD EBS volume (io1) with 64,000 IOPS.
A Database Specialist manages an EBS-Optimized Amazon RDS for MySQL DB instance with Provisioned IOPS storage. The users recently raised a database IO latency issue during peak hours when it was always under a heavy workload. Upon review, the Specialist noticed that the RDS DB instance was barely using the maximum IOPS configured, but was fully utilizing the maximum bandwidth for the required throughput. CloudWatch metrics showed that CPU and Memory utilization were at optimum levels.
Which action should the Database Specialist take to fix the performance issue?
- Change the underlying EBS storage type of the instance to General Purpose (SSD).
- Modify the DB instance to an EBS-Optimized instance class with higher maximum bandwidth.
- Disable EBS optimization on the MySQL DB instance to allow higher maximum bandwidth.
- Modify the DB instance to increase the size and corresponding Provisioned IOPS allocated to the storage.
A developer deployed an application to an Amazon EC2 instance. The application needs to know the public IPv4 address of the instance.
How can the application find this information?
- Query the instance metadata from http://169.254.169.254/latest/meta-data/.
- Query the instance user data from http://169.254.169.254/latest/user-data/.
- Query the Amazon Machine Image (AMI) information from http://169.254 169.254/latest/meta-data/ami/.
- Check the hosts file of the operating system.
You are configuring a Jenkins project that is installed on an Amazon EC2 instance running a Windows operating system. You want this Jenkins project to integrate with AWS CodePipeline.
Which actions should you take to make this function perform correctly? (2 answers)
- Restart all Amazon EC2 instances that are running a Windows operating system.
- Provide the IAM user credentials to integrate AWS CodePipeline.
- Fill out the required fields for your proxy host.
- Modify the PATH variable to include the directory where you installed Jenkins on all Amazon EC2 instance that are running a Windows operating system.
Top comments (0)