MIST4630 Quizzes

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Lambda function logs are collected by CloudLogs.

False

Only Java web applications can be hosted in an Elastic Beanstalk environment.

False

To store a cookie on the client, add it to the request object and, to retrieve a cookie from the client, you retrieve it off of the response object.

False

True or False. The following HTML tags will create a table with 3 rows of two columns each. <table> <tr> <td> a </td> <td> b </td> </tr> <tr> <td> c </td> <td> d </td> </tr> </table>

False

Lamda supports the below programming languages ... (Select 3)

Node.js Python Go

Platform-as-a-Service provides more than just infrastructure by adding middleware, development tools, business intelligence (BI) services, database management systems, and more.

True

S3 is a serverless storage service.

True

Serverless applications are ones that don't require you to provision or manage any servers. You can focus on your core product and business logic instead of responsibilities like operating system (OS) access control, OS patching, provisioning, right-sizing, scaling, and availability.

True

The Elastic Beanstalk service is an example of Platform-as-a-Service (PaaS).

True

The Lightning App Builder is a point-and-click tool that makes it easy to create custom pages for the Salesforce mobile app and Lightning Experience, giving your users what they need all in one place.

True

There is a coding IDE directly in AWS Lambda web interface.

True

When you submit a form using the HTTP _________ method, any data in the form is added to the HTTP request message but not visible in the browser.

post

Which of the following HTTP commands (verbs) is designed to submit requested data to a server for processing?

post

If a prepared statement preparedStatement is a SQL SELECT statement, you execute the statement using _________.

preparedStatement.executeQuery();

If a prepared statement preparedStatement is a SQL Insert statement, you execute the statement using _________.

preparedStatement.executeUpdate();

Assume that you have the following statement: PreparedStatement ps = connection.prepareStatement("select firstName, mi, lastName from Student where firstName = ? and lastName = ?";

ps.setString(1, "John");

Which of the following HTTP commands (verbs) is designed to update and replace existing data with new data being sent in the request?

put

API Gateway ... (Select 2)

receives an HTTPS requests uses get method

Which of the following are created when the Web Server receives a request to hold any data that is sent from the client?

request object

Which of the following statements will store an object called student temporarily so that it can be passed to and used by a view component? The object will no longer be available once the response is sent by the server.

request.setAttribute("student", student);

Modifying the memory/RAM directly affect the Lambda function run time.

True

Multiple cookies can be carried at one time by a request.

True

CPU type can be directly changed for a given Lambda function.

False

Which of the following CSS selectors can be used to select all elements with the class "intro"?

.intro {...}

In order from inside to the outside, what are the components of the CSS box model?

1 Content 2 Padding 3 Border 4 Margin

How many keys do you need to include when setting up your AWS credentials in the Eclipse AWS Toolkit?

2

Which of the following delimiters in a JSP file signals to the server that some Java code is included in the file?

<%...%>

Which of the following delimiters in a JSP file signals to the server that that a Java expression will be printed to the response object?

<%= ... %>

Which of the following is a correct format for a hyperlink to the Terry College web site?

<a href="http://www.terry.uga.edu">The Terry College of Business</a>

Which of the following HTML tags makes text content a heading with the largest size?

<h1> ......</h1>

Which of the following is the correct HTML for inserting an image?

<img src="image.gif" alt="MyImage">

Which of the following HTML tags will create a button that when clicked will cause the action of a form to be implemented?

<input type="submit" name="submit" value="Go" />

Which of the following HTML tags is correct for making a textbox that is named "age"?

<input type="text" name="age" />

Which of the following is a correct tag for connected an HTML page to an external style sheet?

<link ref="stylesheet" type="text/css" href="styles.css">

Which of the following HTML tags would be used to create a drop-down list?

<select>...</select>

Which HTML tag is used to specify an internal style sheet?

<style>...</style>

Which of the following HTML tags would be used to define a bulleted list?

<ul>...</ul>

Which of the following is a valid URL mapping annotation that appears in a servlet?

@WebServlet(urlPatterns = { "/guess" })

When setting up an EC2 instance, you must specify a template that contains a software configuration for your instance. Which of the following is the AWS name for such a template.

Amazon Machine Image (AMI)

Which of the following is a primary reason that APIs are so useful?

An API endpoint sufficiently decouples the consuming application from the infrastructure that provides a service

An Elastic Beanstalk _____ is a logical collection of Elastic Beanstalk components, including environments, versions, and environment configurations. In Elastic Beanstalk an application is conceptually similar to a folder.

Application

A database URL for a MySQL database named test on host panda.armstrong.edu is ________.

B) jdbc:mysql://panda.armstrong.edu/test

What does CSS stand for?

Cascading Style Sheets

A type of network where one computer requests resources and another computers hosts resources and sends them in response to the request is known as ___________________ architecture.

Client/Server

Which of the following statements can be used to connect to a local MySQL database named test?

Connection connection = DriverManager.getConnection("jdbc:mysql://localhost/test");

Which on of the following is a driver software that will help us to create a connection from our Web Application to a MySQL database?

Connector/J

Which of the following statements can be used to create a cookie that will be sent to the client?

Cookie nameCookie = new Cookie("nameCookie", studentName); response.addCookie(nameCookie);

Which of the following is true about PaaS? A. PaaS tools are often less sophisticated than with IaaS. B. Coding time for PaaS often takes longer. C. Focusses only on the development portion of web applications. D. PaaS can make it easier to develop for multiple platforms.

D. PaaS can make it easier to develop for multiple platforms.

With the MVC design pattern, which of the following server side separation of concerns will be generally implemented using JSPs?

Create the appropriate response to send to the client.

Which of the following Lightning page components are Lightning components that you or someone else in your organization have created?

Custom Components

Which of the following is a client/server based application, built using HTML, CSS, JS, and server-side code that may appear differently to different users or on different visits?

Dynamic Web Applications

Which of the following are considered to be benefits of using EC2? (Select all that apply)

ELASTIC WEB-SCALE COMPUTING FLEXIBLE CLOUD HOSTING SERVICES INTEGRATED SECURE

Which of the following software applications can be used to build components for our Web applications like Java classes, HTML files, and other term-2 web components?

Eclipse IDE

Which of the following AWS services allows you to deploy your dynamic applications without your having to manually set up servers or storage?

Elastic Beanstalk

The AWS compute service that lets you rent virtual computers on which to run their own computer applications is known as ___________________.

Elastic Compute Cloud (EC2)

After starting EC2 instances or deploying to Elastic Beanstalk, you can leave those components running as long as you want without using AWS credit or incurring a charge.

False

Which of the following is a possible value to using the CSS position attribute to style an HTML element?

Fixed, Absolute, and Relative

Which of the following statements can be used to store a value that will persist from the time it is stored until a user is no longer actively visiting a site?

HttpSession session = request.getSession();session.setAttribute("student", student);

What does HTML stand for?

Hypertext Markup Language

Expected advantages of Low-coding platforms include which of the following (select all that apply)?

Improve coding efficiency Improved developer productivity Reduced need for programming language knowledge Greater control over API functionality.

Where in an HTML document is the correct place to refer to an external style sheet?

In the <head> section.

JDBC stands for:

Java Database Connectivity

Real-time alerting/monitoring of streaming log statements or other application events

Kinesis

Which of the following potentially negative issues should developers be aware of when a low coding platform is adopted? (Select all that apply)

Low code platforms can have limitations that are not present with full coding. No universal standards for low coding, yet. Security can be complex to maintain

Which of the following is a true statement about Low-code development platforms?

Low code platforms generally combine a visual interface with model-driven logic

With the MVC design pattern, which of the following server side separation of concerns will be generally implemented using plain old java objects (POJOs)?

Modeling our business components

Capital Expenses (CAPEX) refers to the costs of acquiring new infrastructure - for example, buying servers to set up on premises. Operating Expenses (OPEX) refers to the costs of ongoing ownership and maintenance. Which of the following is a true statement related to how Cloud computing can impact CAPEX and OPEX?

Moving to cloud computing generally shifts CAPEX to OPEX.

Which of the following software applications allows us to connect with and manage a MySQL database using a GUI?

MySQL Workbench

Which of the following application components are generally provided by Platform-as-a-Service (PaaS)? Select all that apply.

Operating systems Development tools, DBMS, business analytics Servers and storage Data Center Networking

A complete development and deployment environment in the cloud is known as

PaaS (Platform as a Service)

A ______________ is a set of rules or standards that govern how communication can happen between two computers on a network.

Protocol

With the MVC design pattern, which of the following server side separation of concerns will be generally implemented using Java Servlets?

Receive a request and control which components act on the request.

Which of the following servlet methods is the best place to include code that will retrieve servlet initialization parameters?

init()

Select the Lambda event triggers (Select 3)

S3 SNS API Gateway

In a relational data model, ________ provides the means for accessing and manipulating data.

SQL

Which of the following types of Web components does not require a dedicated server and instead relies on the host system to allocate resources when the component is needed?

Serverless Computing

Which of the following is a client/server based application, built using HTML, CSS and JS, that is basically the same every time you visit the application with your browser?

Static Web Applications

Which of the following Java statements can be used to retreive the data submitted by the textbox on this form as a String? <form name="guessForm" action="guess" method="get" > <label> First Name: </label> <input type="text" name="fName" value="" /><br /> <input type="submit" name="guessButton" value="Go" /> </form>

String fName = request.getParameter("fName");

Which of the following statements will retrieve an object called student that has been stored temporarily (until the response is sent) so that it can be used to create the view?

Student student = (Student) request.getAttribute("student")

Which of the following statements will allow us to access a session attribute and store it as a local variable?

Student student = (Student) session.getAttribute("student");

What is the name of the organization that devlops the primary web standards of HTML and CSS?

The World Wide Consortium (W3C)

Given the following code:PreparedStatement ps = connection.prepareStatement("select firstName, mi, lastName from Student where lastName = ?";ps.setString(1, "Smith");ResultSet resultSet = ps.executeQuery();System.out.println(resultSet.getString(1)); What would be the result?

The program will have a runtime error, because the cursor in resultSet does not point to a row. You must use resultSet.next() to move the cursor to the first row in the result set. Subsequently, resultSet.next() moves the cursor to the next row in the result set.

Memory/RAM is the only server resource you have access to modify.

True

Applications aren't limited to using one API at a time! An application can make calls to multiple APIs and API providers.

True

Configured IAM roles are required to access any Amazon resource such S3 or DynamoDB.

True

Deploying a web project to the Cloud using Elastic Beanstalk requires much less work than configuring and deploying directly to an EC2 instance.

True

DynamoDB is a serverless database service.

True

We can set the initial state of a servlet using initialization parameters.

True

When a Lambda function is invoked, code execution begins at what is called the handler. The handler is a specific function (segment of code) that you've created and included in your code.

True

When setting up an EC2 instance you should select the region. A region is a geographic area that contains one or more data centers with the hardware where your instance will "live."

True

You can think of Compute-as-a-Service (CaaS) as being the subset of Platform-as-a-Service (PaaS) that has a focus on computer processing.

True

When setting up a servlet, we need to create a ___________ to the servlet that will be used to set up any hyperlinks or form actions so that they will send a request for the servlet.

URL mapping

Which of the following Java commands will declare and instance of a Java model class called User when included within a JSP or servlet file?

User user = new User();

After you set up an EC2 instance, you can access and manage it in which of the following ways? (Select all that apply)

Using the AWS Console Using commands from your computer terminal Programmatically via an API

Which of the following is a component that usually completes one task and can be accessed using its API?

Web Service

Which of the following Eclipse Dynamic Web Project folders is the best place to import the Connector/J jar file?

WebContent/Web-Inf/lib

When adding a servlet to an Eclipse Dynamic Web Project, where is the best place to store the servlet within the project?

a package in the src folder

What is the return value from: preparedStatement.executeUpdate("insert into T values (100, 'Smith')") ?

an int value indicating how many rows are effected from the invocation

Which of the following is the correct CSS syntax for setting the background of the page black?

body { background-color: black; }

How do you display a border like this: The top border = 10 pixels The bottom border = 5 pixels The left border = 20 pixels The right border = 1pixel?

border-width:10px 1px 5px 20px;

Which of the following characteristics of Cloud computing refers to the ability to increase and decrease the amount of Cloud resources that are used as needed?

configurable

A __________ is a stand-alone, software component that enables a Java application to interact with a database.

database driver

Which of the following are valid default file names for the welcome file of an Eclipse Java Dynamic Web Application? Select all that apply.

default.jsp index.jsp index.html

Which of the following HTTP commands (verbs) is designed to remove the requested data from the server?

delete

What is the name of the servlet method that will execute when the following html form is received? <form name="guessForm" action="guess" method="get" > <label> First Name: </label> <input type="text" name="fName" value="" /><br /> <input type="submit" name="guessButton" value="Go" /> </form>

doGet()

What is the name of the servlet method that will execute when the following html form is received? <form name="guessForm" action="guess" method="post" > <label> First Name: </label> <input type="text" name="fName" value="" /><br /> <input type="submit" name="guessButton" value="Go" /> </form>

doPost()

With AWS Elastic Beanstalk, an ______ is a collection of AWS resources running an application version.

environment

The ______ designates the type of application that the environment runs, and determines what resources Elastic Beanstalk provisions to support it.

environment tier

Function as a Server is ... (Select 2)

event driven computing Lambda

The request and response objects need to be declared before we can use them within our JSP code.

false

The request and response objects persist as long as the user continues to send requests to the server side application.

false

When you submit a form using the HTTP _________ method, any data in the form is concatenated to the URL shown in the browser.Correct.

get

Which of the following HTTP commands (verbs) is designed to retrieve requested data from a server?

get

Which of the following CSS will add a background color for all <h1> elements?

h1 {background-color:#FFFFFF;}

The allocating or releasing of more IT resources that are of the same type as current resources is referred to as ___________.

horizontal scaling

Which of the following are created when the Web Server receives a request to hold the results that are to be sent back to the client?

response object

Assume that a database contains several records for the last name of Smith. Analyze the following code:PreparedStatement ps = connection.prepareStatement("select firstName, mi, lastName from Student where lastName = ?";ps.setString(1, "Smith");ResultSet resultSet = ps.executeQuery();resultSet.next();System.out.println(resultSet.getString(1));

resultSet.getString(1) returns the firstName field in the result set.

Which of the following methods will move the cursor for the ResultSet rs one record forward?

rs.next()

Which of the following state management techniques is useful for storing small amounts of data on the client side so that it can be retreived by the server during a later session?

storing data as a cookie

Which of the following state management techniques is useful for passing data between components only during one request/response event?

storing data as request attributes

Which of the following state management techniques is useful for keeping data persistent as long as a user keeps a session open to our application?

storing data as session attributes

Which of the following state management techniques is best for storing large amounts of data that will persist for a relatively long timeframe?

storing data in a database

Suppose that a user enters the value 21 into a textbox called age. This value is sent along with the request to a JSP file. When the value is retrieved using the request.getParameter("age") method, what is the default data type for this method?

string

Assume that you move the cursor of a ResultSet rs forward one record, but there are no more records there. What would be the result?

the rs.next() method would return a value of false

Which of the following statements will retrieve a servlet initialization paramater and store it as a serlvet instance variable?

this.title = config.getInitParameter("Title");

A JSP is capable of acting as both the controller and the view component of the MVC design pattern, but it is often used just to handle the view.

true

A servlet is capable of handling both the controller and view concerns but it is best at handling the controller concern.

true

An API specifies how software components should interact with each other.

true

Cloud services are generally considered to have increased availability and reliability than other types of IT infrastructure.

true

For our purposes, Apache Tomcat serves as the Web Server component for testing our applications, locally.

true

The request and response objects are available to the doGet() and doPost() methods because they are passed as parameters for these methods by the Web server.

true

With the MVC design pattern, it is possible to include multiple JSPs to provide different view options.

true


Ensembles d'études connexes

A: General Engine Diagnosis; Tasks 1-9

View Set

Art Appreciation Chapters 4 and 5

View Set

#4 CIS 525 - CyberSecurity - McMurtrey - Study for Final Exam

View Set

Chapter 1: What is Plant Biology?

View Set

Let's Talk Arabic. Unit 1. Saying "Hello"

View Set