Podcast
Questions and Answers
Where should you go to replace the Sonar Cube configuration with a new static code analysis tool in Jenkins?
Where should you go to replace the Sonar Cube configuration with a new static code analysis tool in Jenkins?
- System configuration under global settings
- Manage Jenkins and then go for global tool configuration (correct)
- Project configuration settings
- Pipeline configuration in the job settings
Which build tool must be installed on the Jenkins server to deploy a .war file in the Nexus repository?
Which build tool must be installed on the Jenkins server to deploy a .war file in the Nexus repository?
- Ant
- Gradle
- Maven (correct)
- SBT
What option should be selected under post build actions in Jenkins if the subsequent job only needs to be triggered if the previous job is successful?
What option should be selected under post build actions in Jenkins if the subsequent job only needs to be triggered if the previous job is successful?
- Trigger regardless of the build status
- Trigger only if the build is stable (correct)
- Trigger only if the build is unstable
- Trigger only on build failure
Which of the following statements about Jenkins pipelines is incorrect?
Which of the following statements about Jenkins pipelines is incorrect?
As a Jenkins administrator, which option must be selected to specify the URL of a specific GitLab code repository in the project configuration page?
As a Jenkins administrator, which option must be selected to specify the URL of a specific GitLab code repository in the project configuration page?
How should you automate the manual triggering of Jenkins jobs that currently start at 6:00 AM every day?
How should you automate the manual triggering of Jenkins jobs that currently start at 6:00 AM every day?
What is the primary role of a Jenkins administrator regarding the build tools?
What is the primary role of a Jenkins administrator regarding the build tools?
Which file extension is commonly used for Java web application archive files deployed in repositories?
Which file extension is commonly used for Java web application archive files deployed in repositories?
Which statement regarding the reboot action is not true?
Which statement regarding the reboot action is not true?
How can a user make CPU utilization data more visible on a single graph with other metrics on CloudWatch?
How can a user make CPU utilization data more visible on a single graph with other metrics on CloudWatch?
After stopping and starting an EBS backed instance, which statement is not true?
After stopping and starting an EBS backed instance, which statement is not true?
What method should a user employ to find cost distribution for production and development instances?
What method should a user employ to find cost distribution for production and development instances?
What will AWS do if a user does not specify a maintenance window for an RDS instance type update?
What will AWS do if a user does not specify a maintenance window for an RDS instance type update?
Which process is not performed by Auto Scaling?
Which process is not performed by Auto Scaling?
What will occur if the user tries to delete a VPC that contains a running NAT instance?
What will occur if the user tries to delete a VPC that contains a running NAT instance?
What will CloudFormation do if a stack fails to create a part of its resources?
What will CloudFormation do if a stack fails to create a part of its resources?
What will be the output of the given code snippet: print(list(map(lambda first, second : first.upper()+str(second), ['aaa', 'bbb', 'ccc'], [1,2,3])))?
What will be the output of the given code snippet: print(list(map(lambda first, second : first.upper()+str(second), ['aaa', 'bbb', 'ccc'], [1,2,3])))?
What will be printed after the execution of the function g() in the provided code block?
What will be printed after the execution of the function g() in the provided code block?
What will be the output of the list comprehension l = [x[:2] for x in 'welcome to python programming'.split()] ?
What will be the output of the list comprehension l = [x[:2] for x in 'welcome to python programming'.split()] ?
What does the Thread.join() method do in a thread?
What does the Thread.join() method do in a thread?
Considering this example: x = 'abcd'; y = [1,2,3,4]; what is the expected output of the print statement after calling f(x,y)?
Considering this example: x = 'abcd'; y = [1,2,3,4]; what is the expected output of the print statement after calling f(x,y)?
What will be printed after running this code snippet: def func(x, lst=[]): lst.append(x); return lst? What is the result of calling print(func(1)); print(func(2))?
What will be printed after running this code snippet: def func(x, lst=[]): lst.append(x); return lst? What is the result of calling print(func(1)); print(func(2))?
What is the output of the expression print(2 * 3 + 4)?
What is the output of the expression print(2 * 3 + 4)?
What will happen when you execute the following code: fin = open('data'); fout = open('data', 'w'); fout.write('abcd'); fout.flush(); print(fin.read())?
What will happen when you execute the following code: fin = open('data'); fout = open('data', 'w'); fout.write('abcd'); fout.flush(); print(fin.read())?
What happens if a user tries to delete a public subnet that contains running EC2 instances?
What happens if a user tries to delete a public subnet that contains running EC2 instances?
Which of these options is not needed when creating an AMI from an instance store-backed EC2 instance?
Which of these options is not needed when creating an AMI from an instance store-backed EC2 instance?
What is the expected status of CloudWatch alarms on detached EBS volumes after the EC2 instance is stopped?
What is the expected status of CloudWatch alarms on detached EBS volumes after the EC2 instance is stopped?
Which of the following statements about tags in AWS is not true?
Which of the following statements about tags in AWS is not true?
If a user has a MySQL RDS instance experiencing high latency due to the Multi AZ feature, which of the following actions may not help?
If a user has a MySQL RDS instance experiencing high latency due to the Multi AZ feature, which of the following actions may not help?
Which IP address cannot be assigned to an instance in a public or private subnet with CIDR 10.0.0.0/24?
Which IP address cannot be assigned to an instance in a public or private subnet with CIDR 10.0.0.0/24?
Which option is the best solution to provide access for over 1000 employees to various AWS services?
Which option is the best solution to provide access for over 1000 employees to various AWS services?
What step is not needed when creating an AMI from a running instance?
What step is not needed when creating an AMI from a running instance?
What feature allows an ELB to stop sending new traffic to an EC2 instance during deregistration while allowing ongoing requests to complete?
What feature allows an ELB to stop sending new traffic to an EC2 instance during deregistration while allowing ongoing requests to complete?
Which S3 bucket policy permission is equivalent to the WRITE ACL Permission on a bucket?
Which S3 bucket policy permission is equivalent to the WRITE ACL Permission on a bucket?
When scheduling Auto Scaling through CLI, what is a limitation compared to the AWS Management Console?
When scheduling Auto Scaling through CLI, what is a limitation compared to the AWS Management Console?
In the scenario where two recurring Auto Scaling processes are set up with conflicting schedules, what will occur?
In the scenario where two recurring Auto Scaling processes are set up with conflicting schedules, what will occur?
What CloudWatch metric will always show a value of 0 for an EBS backed EC2 instance?
What CloudWatch metric will always show a value of 0 for an EBS backed EC2 instance?
What is the best method to restrict access to production instances for developers in a VPC?
What is the best method to restrict access to production instances for developers in a VPC?
When configuring Azure MFA for Office 365, what is the requirement regarding user connections to the mailbox?
When configuring Azure MFA for Office 365, what is the requirement regarding user connections to the mailbox?
What is a key consideration in ensuring AWS infrastructure scales effectively during high-demand events, such as Christmas sales?
What is a key consideration in ensuring AWS infrastructure scales effectively during high-demand events, such as Christmas sales?
Study Notes
DevOps
- Sonar Cube can be deleted and configured via Jenkins
- Maven is used for building Java applications.
- Declarative Pipeline Syntax is not the only way to write a Jenkins file.
- Scripted Pipeline is a more recent feature in Jenkins.
- You can trigger a Jenkins job only if the previous job is successful via the Trigger only if the build is stable option.
- Changing the pipeline script from SCM will allow you to tell Jenkins the URL of a specific GitLab code repository.
- Con expressions can be used to automate Jenkins jobs that are manually triggered.
- example: using a time condition to trigger a job at 6:00 AM every day.
AWS
- Rebooting an EBS-backed EC2 instance does not mean it will be running on a new host computer.
- To better view data on a CloudWatch graph, you can select the Y axis that plots CPU utilization data.
- Stopping and then restarting an EBS-backed instance does not disassociate the Elastic IP from the instance.
- Cost Allocation Tags and AWS billing reports can be used to find the cost distribution for different types of EC2 instances deployed in a region.
- The default maintenance window will be utilized if a user has not specified the maintenance window for an RDS instance.
- Auto Scaling does not perform the action of rebooting instances.
- Deleting a VPC with a running NAT instance will not be allowed.
- If a CloudFormation stack fails during the process of creating resources, it will rollback all created services.
- ELB will intercept the request to add the cookie details if sticky session is enabled.
- You do not need AWS login ID to login to the console to create an AMI from an instance store backed AMI.
- you will need an SSH key, an instance ID and a user's credentials to login to the instance to create a new AMI.
- When an EBS-backed EC2 instance is stopped and the EBS volumes are detached, the alarms on the EBS volume will show the status of Insufficient Data.
- Deleting a subnet with a running instance will not be allowed.
- Taking a snapshot from standby Replica will not help reduce latency caused by the Multi AZ feature in a small RDS MySQL DB.
- 10.0.0.255 cannot be the correct IP address assigned to an instance in a public or private subnet within a VPC with CIDR 10.0.0.0/24.
- 64 unicode characters is the maximum length of a tag key.
- Maximum value of a tag value length is 256 unicode characters.
- An IAM role attached to the organization's authentication service is the best solution for providing access to various AWS services for a large organization.
- Defining launch permissions is not a step performed while creating an AMI from an instance store backed AMI.
- ELB connection draining helps stop sending new requests traffic to an instance while continuing in-flight requests.
- s3:DeleteObject permissions in an S3 policy are equivalent to WRITE ACL Permission on a bucket.
- Using CLI, you can schedule autoscaling group only up to 30 days in advance.
- Auto Scaling will through an error if two conflicting schedules (daily and monthly) are set up.
- DiskReadBytes will always display a 0 value in CloudWatch monitoring on an EBS backed EC2 instance.
- You can define tags on the Development and production servers and add a condition to the IAM Policy for improved security in a VPC with production and development instances.
Azure
- To restrict MFA to only connections to the Exchange Online mailbox, you need to configure Azure MFA for the specific service principal used to connect to Exchange Online.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Test your knowledge on essential DevOps practices with Jenkins configurations and AWS functionalities. This quiz covers topics like Sonar Cube, Maven, CI/CD pipelines, and EBS-backed EC2 instances. Perfect for beginners looking to solidify their understanding of cloud and DevOps technologies.